Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating checkboxes with code
Message
 
 
To
24/03/2009 17:23:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Miscellaneous
Thread ID:
01391210
Message ID:
01391213
Views:
59
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform