Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement