Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding objects dynamically on form
Message
De
10/05/2004 13:35:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Adding objects dynamically on form
Divers
Thread ID:
00902520
Message ID:
00902520
Vues:
72
Hi,

In order to build a form with questions and answers dynamically, I created some classes for lbel, optiongroups etc. based upon the VFP base classes. Then I added an event in which the left, top, caption and other properties should be filled based upon a series of parameters. When the form is created I add the various objects from those classes with addobject(). Next I set the visible property to .T. Finally I try to call that custom event with the parameters, but there's no reaction at all. No error messages, nothing. The event is just skipped as if it doesn't exist. Also the base events, like refresh(), don't react. What's going on!!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform