Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement