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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only