Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Basic input routine
For all VFP gurus out there...
I have been programming in Foxpro DOS and VFP 3.0 for some time. Now I would like to move into VFP 5.0. I have some difficulties in understanding the 5.0 event model. I need to create a simple input routine with a few text boxes. I want to validate the input in each text box and depending on user input I want to move the focus to some other textbox. If the input cannot be accepted the focus should stay on the same textbox and a custom error message is displayed in a WAIT-window. At the bottom of the form is a command button that GATHERs the information and sets the focus back to the first textbox. What commands (SetFocus, Return's?) should I use and where should they be placed in order to get the desired functionality?
Jukka Salminen
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