Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can you use commands at design time?
Message
 
À
12/02/1997 13:55:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00020219
Message ID:
00020327
Vues:
38
> > I'm missing some major connection here. There are a few commands, such as > WriteMethod, that according to the documentation are available only at > design time. Sure enough, if I try to use it at runtime, it returns an > error. In this example, I'm adding a command button to a form on the fly, > and I want the Click event of the new button to call the Click event of an > existing control. > > Please do not respond with alternate ways to acheive this particular > example; stay with me here, guys, this is a general (philosophical, if you > will) question. > > Where would you use WriteMethod? Alternately, how can you place code in a > method of a control you are creating on the fly? Tina, In builders, you could use WriteMethod to programmatically create methods. To my knowledge it is the only way to do this. Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform