Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deselecting a list item in a list box
Message
De
05/10/1998 06:23:41
 
 
À
05/10/1998 03:49:05
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00143155
Message ID:
00143798
Vues:
35
>That will remove the highlight bar from the item, but what I want to do is select an item and have that item become unselectable again, ei grey out that item. My question was a little vague. Any idea how to do that?

Try:
IF MyListBox.ListItemID > 0
   MyListBox.Selected(MyListBox.ListItemID) = .F.
   MyListBox.ListItemID = -1
ENDIF
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform