Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo ColumnWidth property not working.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00366244
Message ID:
00367163
Views:
20
Hi Roi,

That's strange!!!
What's is value of the property ROWSOURCETYPE of the combobox?
If you're using = 5, then try the following:

- change that property to 0 (zero);
- create a method at the combo to populate "manually" the grid, like this:

NumColunas = Alen(&NomeArray, 1)
For i = 1 to NumColunas
For j = 1 to NumColunas
If Type("&NomeArray(i,j)") = "N"
this.AddListItem(Alltrim(Str(&NomeArray(i,j))), i, j)
Else
this.AddListItem(Alltrim(&NomeArray(i,j)), i, j)
Endif
Next j
Next i

- try this code, and try to change the COLUMNWIDTH now.

Perhaps the SQL statement (or the fact of having a ROWSOURCETYPE = 5) is affecting the columns widths. Don't know how to solve it, never happened to me.

Try this and day something, (and, of course, your opinion about this method).

Ricardo
Previous
Reply
Map
View

Click here to load this message in the networking platform