Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best approach for listbox on values
Message
From
19/07/2001 12:00:08
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00529536
Message ID:
00532660
Views:
45
Bill,

Well, I would get rid of the FirstElement = 2, just leave it at default. Take care of displaying only the second column by specifying ColumnCount = 2 and making the ColumnWidth = 0,63 ... that way it won't show the first column, only the second.

~~Bonnie

>You appear to have knowledge aboutdisplaying arrays in a listbox, so here is a question for you. I constructed a listbox in a form based on an array ( that is built from a memo field in the table). The array is built in the listbox's init method and also in its gotfocus method (to test it). All I get are 2 lines of data. if there is only 1 line then the second line contains ".F.".
>Following are some settings:
>rowsource- aDates [the array name]
>rowsourcetype- 5 - array
>controlsource- none
>firstelement- 2 ( because want to display second column) [1st col used for sorting]
># of elements- 0 or 100 doesn't change anything or help
>column count- 1
>column width- 63 [the width af each array line in col. 2]
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform