Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabled listbox
Message
 
To
09/02/2001 09:23:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00474411
Message ID:
00474429
Views:
23
IN addition to what Michael suggested, you can also have listbox enabled and conditionally "return .f." in the "When" method.

>>>>>>>>>>>>>>>> your message below
When I disable a list box, I cannot identify the selected item. I've tried changing the disabledforecolor and disableditemforecolor with no success. All of the items in the list look the same (dark grey on white background). I also tried returning .f. in the when event instead of setting the listbox.enabled = .f., but that didn't totally work either. I was still able to access the control's events if I click and hold the mouse down over the list. What is the best way to disable a list so you can still see the selected item?

Tim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform