Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>I have a form with a pageframe and command buttons on it. I am on page 2 of the pageframe and validating the entered data. When the user inputs data and presses tab the data is validated. If invalid then I want the control returned to textbox to be re-entered. I have been messing with setfocus and activecontrol and _curobj to do this but nothing seems to work. The focus goes to my first command button off of the pageframe.
You'll want to use the Valid method of the textbox and return .f. if the data is in valid.
Précédent
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