Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo NumberOfElements
Message
 
 
À
06/02/2002 19:43:28
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00616066
Message ID:
00616549
Vues:
29
Only with respect to NumberOfElements according to the VFP Help. There is no such restriction on DisplayCount which does exactly what I wanted all along.

>OK, you have found the display count, but I don't understand why would you be limited to one column? My favorite trick is to manipulate the ColumnWidths so that the unwanted columns are invisible. Say I have a description in column 1 and a key in 2. In combo.init:
>
this.columnwidths=tran(this.width)+",0"
>this.boundcolumn=2
>this.boundto=.t.
>
>IOW, are you limited to a ColumCount of 1, or to display just one column? This is the way to achieve the latter.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform