Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto set ColumnWidths Property for Comboboxes?
Message
 
To
22/08/2000 10:41:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00407724
Message ID:
00407810
Views:
24
Hi Cetin,

I appreciate your help. I ran the code you gave me. I think I understand how it works. I have one minor problem. The width of the combobox drop-down list initially appears small when I click on the combobox on the form. Then, I select an item and depending upon how many characters in length the item is, the drop-down list widens the next time I click on the combobox.

I have playing around with the code, but not sure why it is not using the max width initially. Only uses the max width after I choose the longest item in the drop-down list and then click on the combobox to display the drop-down list over again.

I have the ColumnWidth property initially set to default and also the Column Count property initially set to default.

I will keep investigating and see if I can fix. Thanks again for all the help! I have never tried this before, but I like the idea of having the exact width for my drop-down list based upon an array.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform