Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating checkboxes with code
Message
 
 
À
24/03/2009 17:23:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Divers
Thread ID:
01391210
Message ID:
01391213
Vues:
60
>I want to create a series of checkboxes on a form based upon existing data in a table. I've used createobject and addobject to create a checkbox and add it to a form, but I can't get the checkbox to show up. Where should I place this code and what am I not doing to get it to show?

Just don't forget to set visible property to true (along with top and left calulated) for new checkboxes.

You may call this code in form's Init or when you're ready.

All classes instantiated in the code have visible property set to false by default and you have to switch it to true in code.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform