Don't want labels greyed out if control is not enabled

G

Guest

If a control is disabled, therefore greyed out, the associated label becomes
greyed out too.
I have a nice shade of blue for all my labels and that is overriden in any
label where the control is disabled. It's fine and proper that the control
itself should be dimmed but I don't want this on the label!
I thought I might be able to modify this but it's odd because if you look in
Properties on a greyed-out label everything appears just the same as for an
enabled one - the fore colour and back colour remain just as if it was still
alive.
Hope somebody knows the trick for dealing with this!
Many thanks
CW
 
T

tina

if you don't want a label to be affected by its' Parent control's Enabled
property, then you have to detach the label from the control. click on the
label to select it and press Ctrl+c to copy it. then delete the label.
*without* touching the control, press Ctrl+v to paste the label into the
form again (it lands in the top left corner of the Detail section, unless
you select another section).

keep in mind that since the label is no longer attached to the control, if
you move the control, the label won't automatically move with it - you'll
have to specifically select both the control and the label to move them
together.

hth
 
G

Guest

This doesn't work for me...nothing will paste, have tried it several times.
Anyway, if the answer is along these lines and there's nothing that can be
done whilst maintaining the "original" label, I will simply delete the
existing labels and manually add replacement label text.
Thanks for your help.
 
T

tina

yes, manually adding a stand-alone label will give you the same result. and
you're welcome :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top