Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo NumberOfElements
Message
 
 
To
06/02/2002 19:43:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00616066
Message ID:
00616549
Views:
28
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
Previous
Reply
Map
View

Click here to load this message in the networking platform