Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding an object to a form from a called prg in the init
Message
De
09/10/1999 01:55:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Adding an object to a form from a called prg in the init
Divers
Thread ID:
00274555
Message ID:
00274555
Vues:
63
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
Fil
Voir

Click here to load this message in the networking platform