Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox
Message
From
13/03/2000 04:09:14
 
 
To
13/03/2000 00:39:44
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00344861
Message ID:
00344883
Views:
21
The way to disable a listbox item is to prefix the list entry with a \ character. For example:-

ThisForm.ListBox.AddItem("\Disabled")
ThisForm.ListBox.AddItem("Enabled")

The ItemBackColor property can be used to change the background colour of an item but I don't think you can do this on an entry by entry basis. For example:-

ThisForm.ListBox.ItemBackColor = RGB(255, 255, 255)
Previous
Reply
Map
View

Click here to load this message in the networking platform