Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deselecting a list item in a list box
Message
From
02/10/1998 07:51:28
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00143155
Message ID:
00143160
Views:
28
>>How do you deselect a list item in a listbox?
>>
>
>Try the ListItemId property of the listbox. Setting it to -1 makes no item selected. Example:
>
>? MyListBox.ListItemId  && get the Item ID of the last item selected
>MyListBox.ListItemId = -1  && now nothing is selected
>
Your answer got me thinking, there Ed:
What if I go for multiple select type of listbox? Any way of deselecting ust one (optional) of the selected items?
Danijel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform