Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PUBLIC variables won't work when i call in the form
Message
De
15/01/2002 12:28:24
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
PUBLIC variables won't work when i call in the form
Divers
Thread ID:
00604937
Message ID:
00604937
Vues:
49
PUBLIC variables won't work when i call in the form. why is it that all the public variable that i declared in the main program will be missing in the form. here's my code.

***Main.Prg
PUBLIC oMyObject
SET CLASSLIB TO myClass
oMyObject = CreateObject("App")
oMyObject.Init()
DO FORM MyForm


***MyForm.Scx

*Init Method at myform.scx
WAIT WINDOW oMyObject.MyText


The oMyObject is missing when i run the program. is there anything wrong with my code or is there any setup in the VFP6 to activate the Public variable. please help me...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform