Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
How to set properties on a Modal Form
I have a form which I call as follows:
Do Form MyForm Name oForm
I then want to set properties from the 'calling' form:
oForm.FromLoc = 'MYLOC'
oForm.Customer = 'MyCust'
oForm.Area = 'MYAREA' etc
However, because the Form loads, and then processes, I can access the forms properties.
I can do this if the Form is NonModal but then Code in the Calling Program , after the Do Form command reuns, and I dont want this to happen.
Maybe there is some other syntax to use to Instantiate the form, set the properties and then set focus to it .
Any help appreciated.
regards,
Gerard
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