Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filling a multi-column ListBox
Message
From
16/07/1997 12:36:51
 
 
To
16/07/1997 12:20:29
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00040242
Message ID:
00040248
Views:
30
>I have a 2-column ListBox with RowSourceType set to 0 (None). I am trying
>to fill it with 2 fields from a table using the AddItem method, but I can't
>seem to fill the second column. I want the list to be sorted. I had no
>problem filling a 1-column ListBox. Thanks for any help.
>
>Elyse

I have never tried it for RowSourceType=0. My assumption is that the natural RowSource for this case is a cursor. You could CREATE CURSOR/INSERT INTO in List.Init event and then handle it conveniently (you can have index tags for sorting, etc.)
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform