Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Control Width of Drop-Down List?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00191501
Message ID:
00191590
Views:
17
>Rick,
>
>Time to get out the debugger and check the vlaue of the columnwidth property for the combo. Put a breakpoint on it and see when it changes.

Just to save anybody else the trouble of pointing it out, it turns out that the Width property is always read-only when it applies to a control contained in a Column object.

In the form designer, the Width property of all the controls in every column of every grid I've checked shows as 10. Yet when a form is run, controls in a grid apparently take on the width of the column they're contained in... but evidently without actually changing the control's Width property, according to the debugger. So the question is: at run time, when does VFP calculate the width of a control contained in a Column object, and where does it store this value?
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform