Form - Trasformare Gli ENTER In TAB




Text # Impostare la propieta' KeyPreview del Form sul valore TRUE e
inserire il seguente codice nell'evento KeyPress dello stesso Form
Sub Form_KeyPress (KeyAscii As Integer)
If KeyAscii = 13 Then
If TypeOf ActiveControl Is TextBox Then
SendKeys {"TAB"}
KeyAscii=0
End If
End If
End Sub











( formtrasformareglienterintab.html )- by Paolo Puglisi - Modifica del 17/12/2023