Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command Button
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00130585
Message ID:
00130592
Views:
14
>I have a label and a command button in a container class.I have the
>width of the command button set to this.parent.lblButton.width .
>When I put the class on a form and change the width of the label the
>command button does not change any suggestions.
>
>Thanks,
>matt

Firstly, this property setting will work in run-time and, moreover, it will not work reliable, just because it may happen that Commandbutton will get initiated before the Label and you will get error message that object not found. It's better idea to code it programmatically in Form.Init event.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform