Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call Object.Method from On Selection Bar command?
Message
De
02/01/2000 07:53:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to call Object.Method from On Selection Bar command?
Divers
Thread ID:
00311323
Message ID:
00311323
Vues:
66
Hi,
I have bar of menu that may need to call method from my class. How could I do so if I don know the reference of the object (myvar = createobj("myclass")), however using THIS or any other ways to reference?

e.g.

myclass.mymethod1

DEFINE BAR 1 OF mypopup PROMPT "MyMethod"
ON SELECTION BAR 1 of mypopup **CALL MYCLASS.MYMETHOD2**


Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform