Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox items selected property
Message
 
To
13/08/1998 15:34:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00126681
Message ID:
00126689
Views:
21
>Has anyone ever had any problems setting a listbox item's selected property. I
>know that you can programatically check if a listbox item is selected by
>checking "this.selected[x]" for a logical...but when I try and set an item's
>selected, it doesn't want to take. The VFP doc's say the property is read-
>write so I'm at a loss...

It is read-write...what code are you using to change it? I found that:

thisform.list1.selected(3)=.t.

selected the third item, no problem.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform