Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo ColumnWidth property not working.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00366244
Message ID:
00367163
Vues:
19
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
Fil
Voir

Click here to load this message in the networking platform