A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

".enabled = False" format for listboxes etc.



 
 
Thread Tools Display Modes
  #1  
Old November 6th, 2007, 07:07 PM posted to microsoft.public.access.forms
mark kubicki
external usenet poster
 
Posts: 84
Default ".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  
Old November 6th, 2007, 07:34 PM posted to microsoft.public.access.forms
Dirk Goldgar
external usenet poster
 
Posts: 1,164
Default ".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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:53 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.