Avete ragione in merito al tasto search,ma sono novello
il Return True ha funzionato, questo il codice:
Sub Activity_KeyPress (KeyCode As Int) As Boolean 'Funzione pulsante Back
If WebView1.Visible=True AND KeyCode = KeyCodes.KEYCODE_BACK Then
WebView1.Visible=False 'nascondo webview
Return True
Else
Dim domanda As Int
domanda =Msgbox2("Vuoi Veramente Uscire dal Programma?","Avviso","Si","","No",Null)
If domanda =DialogResponse.POSITIVE Then
Else If domanda =DialogResponse.NEGATIVE Then
Return True
End If
End If
End Sub
altra domanda...se volessi dettare la condizione in evidenza a le tutte Webview è possibile ? ho devo scrivere ogni if per quante webview utilizzata ?
grazie