Information générale
Catégorie:
Codage, syntaxe et commandes
Add dodefault() at the end. Otherwise the default behavior seems replaced with your code.
>I have a textbox with controlsource of m.Bank_Property_ID and I need the Click of THIS.Parent.CmdGo to run when the operator hits the Enter key after typing in the textbox. The below code in KEYPRESS does what I need except the m.Bank_Property_ID is not changing to previous keys typed before the Click code is ran. I hope this make sense. It is the simple things that drive me bananas.
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>
>IF nKeyCode = 13 and nShiftAltCtrl = 0
> THIS.Parent.CmdGo.Click
>ENDIF
>
>Please and thank you.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement