Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>I am converting old 2.x dos foxpro to vfp6 code. the old code uses alot of say & gets to interact with the endusers. I am trying to use forms - labels and textboxes - to achieve the same. I am creating alot of forms to take the the place of the say & gets. I accept that, but my problem lies with passing the user input, i've tried to use return varailbe in unload propery of form and that works ok for 1 variable. What do you do when you need to return many variables bake to the calling program for processing? Help!
>frank
You should use Form properties to hold info that is relevent to a process that the data requested on the form uses.
Then, you can either put the code in a form method to do your task... or, you could create a BusinessObject that contains the processing methods. If the BizObj is on the form, the BizObj can access the form properties as thisform.cName or thisform.lPrintAudit or whatever.
BOb
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