General information
Title:
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only