Information générale
Titre:
Adding objects dynamically on form
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement