Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unselecting a List Item
Message
De
15/11/2006 18:19:41
 
 
À
15/11/2006 16:52:47
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01170086
Message ID:
01170117
Vues:
9
>How can I programatically de-select a List item(so highlighted background color returns to unselected color).
>
>What I have is two listboxes. The second list box behavior is based on first. I need the second list box to revert to unsselected state if first list box selection is changed.

First, set the MultiSelect property to .T.. Then use the listbox.Selected collection to select and unselect the various items.

thisform.listbox.Selected( thisform.Listbox.ListIndex ) = .F.
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform