General information
Category:
Forms & Form designer
Tim,
It complicates the solution. Use what Michael suggested.
>>>>>>>>>>>>>>>>> Previous messages below
Yuri
I tried returning false in the when method. It seems to work for the most part, but I could still get through to the interactivechange events if I click on the list and drag on the list. It seems it still allows focus to the object. I don't want access to any of the events or methods (like it is truely disabled).
Tim
>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
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