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

>firstelement- 2 ( because want to display second column) [1st col used for sorting]

Hi, Bill-

I'm not Bonnie, and I haven't even played a Bonnie on T.V. *bg*, but if you'll allow me. The FirstElement property only applies to single column arrays and designates the first item in the list.

So, if the array is something like this:
WITH thisform
	.aItems[1] = "One"
	.aItems[2] = "Two"
	.aItems[3] = "Three"
ENDWITH
Then, setting FirstElement = 2 will show "Two" as the first item and you won't be able to get at "One".

HTH.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform