Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListView Control
Message
From
13/09/2001 12:07:00
 
 
To
13/09/2001 09:36:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00555883
Message ID:
00555978
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform