Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding controls @ design time
Message
From
07/12/2006 13:34:48
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01175771
Message ID:
01175792
Views:
6
>Hi all, How can I add a given number of controls to a container at design time. For example if in my class I have a property named "numberofxyzcontrol", when the developer sets that property to a number I want to add that number of controls to the container.
>

Since you're using VFP 9, you could do this with a property editor. However, that'll kick in only when the developer changes the value with the property editor, not if he just types in a new value and not when the form is opened in the designer.

To learn more about property editors, read the "Custom Property Editors" section of the MemberData Extensibility Help topic.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform