General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only