If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
".enabled = False" format for listboxes etc.
if I make a textbox disabled, or a label, etc... it "looks" disabled (it's
"grey'd out") however, if I make a list box (or combo, or subform...) it still looks the same this is causing confusion among the end users (when can they... and when can't they...) doers anyone have any trick or tips on how to handle this issue? (ps: it probably does not make sense to use the visible property...) thanks in advance, mark |
#2
|
|||
|
|||
".enabled = False" format for listboxes etc.
In ,
Mark Kubicki wrote: if I make a textbox disabled, or a label, etc... it "looks" disabled (it's "grey'd out") however, if I make a list box (or combo, or subform...) it still looks the same this is causing confusion among the end users (when can they... and when can't they...) doers anyone have any trick or tips on how to handle this issue? (ps: it probably does not make sense to use the visible property...) List boxes are a pain in this regard, because Access won't let you display another control on top of them. If the list box has an attached label, that label will be grayed out if the list box is disabled. That's not terribly noticeable, however. You could put a box control around the list box to indicate that its disabled, and hide that control when the list box is enabled. You could hide the list box and display something else in its place, but then your users wouldn't be able to see the selected value(s) in the list box. I guess you could hide the list box and display instead a disabled text box showing just the selected values. You'd give this text box a controlsource expression that returns the selected values in a string with line breaks embedded between the values. -- Dirk Goldgar, MS Access MVP www.datagnostics.com (please reply to the newsgroup) |
Thread Tools | |
Display Modes | |
|
|