Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling a container
Message
 
To
31/01/2002 08:06:27
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00613278
Message ID:
00613481
Views:
15
Hilmar,

If you use the baseclass of Control then the controls inside the container cannot be addressed, they are hidden from all code except the code in the control class. In this case you can ONLY access the container's Enalbed property because MyControl.Textbox results in an unknown object.

It is surprising how few people know about or use the Control baseclass. It is ideal for your exact situation. Of cource you have to raise all value properties to the control's level if you need to read them in code, that is easily done by making their controlsource be properties of the control class.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform