Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ColumnWidths and 1 column in combobox
Message
From
14/07/2006 13:06:41
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01136451
Message ID:
01136481
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
>>>Hi everybody,
>>>
>>>I have a combobox with 1 column only. I've tried various values for ColumnWidths, but when I expand the combobox, it always shows the same width. Does it mean what ColumnWidths property is not respected for combobox with 1 column?
>>>
>>>Thanks.
>>
>>Yes, it doesn't works for me either. One work around:
>>ColumnCount = 2
>>ColumnWidths = [200,0]
>>ColumnLines = .f.
>
>Would it work if you only have one column for your combobox? - Update - yes, it works.
>
>Looks like a bug to me (or documentation omission).

Also try ColumnCount = 0
This way it will display first column only and dropdown will be as wide as control or longest item.
/A new technology turns into completely outdated stuff before you have a time to read "Getting Started..." section.
/If there are some "system programmers" then others are unsystematic.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform