Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call method after using addobject command
Message
 
 
À
29/04/2003 10:26:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00782689
Message ID:
00782698
Vues:
10
>Hi All,
>
>Inside my init() of the form, I created commandbutton 'Command1' object by issuing the addobject command.
>
>This.addobject('Command1','CommandButton')
>
>Now, how would I add the code to call xMethod when user click on the button. TIA

You cannot add method code to the object method at runtime. There're other ways to acomplish what you want. See
- How to programmatically add code to method? Thread #774568
- Re: Adding objects Thread #774920
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform