Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListView Control
Message
De
13/09/2001 12:07:00
 
 
À
13/09/2001 09:36:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00555883
Message ID:
00555978
Vues:
12
>Hi everybody!
>Does anybody know how can I disable ListItems(i) in MS ListView with report layout. I want under the certain condition to greyout and make item unselectable
>analog "\" in foxpro?
>Thanks.

You can use the Ghosted property of a listitem object to "disable" an item. For this property to be apparent to the user you also need to add a smallicon to the item. The icon itself will appear dimmed to the user, but not the text. The user can still click on the item, but you can capture that on the Itemclick() event by checking the ghosted property.

Use an image list control and the smallicon property of the listitem. For more info on that see this MSKB article: http://support.microsoft.com/support/kb/articles/Q170/1/46.ASP

HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform