Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deselecting a list item in a list box
Message
De
02/10/1998 07:51:28
 
 
À
02/10/1998 07:47:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00143155
Message ID:
00143160
Vues:
29
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform