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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only