Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pitfall when trying to gather information about controls.
Message
De
27/06/1997 13:03:34
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Pitfall when trying to gather information about controls.
Divers
Thread ID:
00037938
Message ID:
00037938
Vues:
84
Here's a pitfall I found when trying to gather information about controls on form from within the Init() method of one of the controls on that form...

When using CREATEOBJECT() and .Show() to show a form from a .vcx, if within the Init() event of one of the controls on the form you check the ControlCount property of the form, it will not show the same value as when the form is run from an .scx. This is because the controls have not yet been Added to the form. After they have all Init()ed, they are accessible. Be warned!
- Gino Miceli -
LAN Professionals Inc.
Bayshore, NY
gino@vdot.net
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform