Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is ListBox Okay?
Message
From
04/10/1999 17:09:27
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00272435
Message ID:
00272476
Views:
20
Hi Terry,

I've read all replies/retorts and here are some things to consider

1) As I read the ListItem property, it is designed to be used in conjunction with the ItemID and not the ListItem. I have no real idea why or how though.

2) Have you tried the simpler List property. I find it easiest of all and should apply nicely here.

Good luck (and I'm not so quick to say that the ListBox is "under the weather")

Jim N

>>This does not evaluate the contents of the listbox. This sets the value of the listbox. Do you mean MyString = MyForm.ListBox.Value?
>
>I noticed when checking the operation from the command window, that if my list box had a LISTITEM value, (Lets say "TWO"), that if I typed:
>
>myform.mylist.value="TWO", that the highlite bar and ListIndex would correspond to the additem("TWO") ListItem.
>
>Value Equals sets ListIndex, but I don't know if it should or even if it should be referenced that Way.
>
>When I do the same from within a method, it misses half the time, and ListIndex returns a ZERO. I think (just an opinion) ths SP3 ListBox is a little under the weather - still I have to get it to work or use some other control, like combo, edit or grid.
>
>Thanks Terry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform