Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interacting with listbox thru programming
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00058670
Message ID:
00058672
Views:
32
>Is there a way of multi selecting a list box thru programming. If I had a listbox containing 10 items and I want to press a button to select all the items.
>
>Example:
>
>
>FOR i = 1 TO this.parent.myListBox.ListCount
> this.parent.myListBox.selected(i)
>endfor
>return
>
>Thanks for any help
>
>James

So, what the problem?
FOR i = 1 TO this.parent.myListBox.ListCount
this.parent.myListBox.selected(i)=.t.
endfor
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform