Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Erratic columnwidths in combo box
Message
 
To
07/04/2000 14:14:30
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00357019
Message ID:
00357144
Views:
14
You have the ColumnCount property set to 2? In the debugger, what is the ColumnWidth property set at when the form loads? If it is different from the value you have set then use a break point to find out when it changes.

Also, look at your cursor. If you use concatenated fields for one of the cursor fields (like allt(lastname) +' '+ Firstname ) your cursor will set the field width to that of the first entry. Fine if the name is Christopher Fitzsimmons, but not so good if it's Jo Ng. If this is a problem, use the PADR() function to set the field length

HTH
Barbara

>On a combo box filled with data from a table (two columns) I set the width of the columns in the properties window and in the init of the form itself. But when I build the application and install the exe, the first column's width shrinks so its value is read incorrectly. Has anyone seen this before?
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform