Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to have dynamic column width for combobox?
Message
From
19/01/2001 09:11:36
 
 
To
18/01/2001 21:52:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00465542
Message ID:
00465673
Views:
12
> I have a combo box that show 2 fields in form. The 2nd field is set 50 characters long in table.
> Is it possible to set combo box to show the 2nd fields with dynamic width, instead of showing long empty space since the data stored in table may be just 20 characters?

I don't know for sure what do you call "dynamic width". You can set the Columnwidths property of the combo box to anything you want (not necesarilly the actual size of the field), in pixels.

For example: 100,200,0

In this case the last column exists but is NOT displayed. This is useful to hide primary keys and other related values.

Hope this helps.
Previous
Reply
Map
View

Click here to load this message in the networking platform