Information générale
Titre:
Adding an object to a form from a called prg in the init
How do you reference a form from a called program inside that forms init.
Example:
MyForm Init
DO PROGRAM showformname
showformname.prg:
WAIT WINDOW "Form Name: " + myform.name
myform is not valid inside the forms init as a reference.
I even tried DO FORM MyForm NAME MyForm and then reference myform.name again in the program. Didn't work.
I must be missing something simple here, I cannot believe you cannot reference the form.
_____________________________
Man this UT imput page is frustrating, if you get a UT error like "you forgot to pick a catagory" and then hit back key all your text is erased. I keep having to copy all the text in case I get another error.
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