Dsiabled Label color

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

When you have a Text Box & have a Label asscociated with it & then when you
Disbale the Text Box (Enabled=False) it gets greyed out & its Label Font gets
that silvery-etched look.

How can I change other Lablels that are not Associated to Text Boxes to that
color ?

I tried setting the Labels ForeColor property to vbGreyText and tried
vbInactiveCaptionText and niether change the label to that Disabled
silvery-etched look.

Any help would be greatly appreciated.

Thank you,
Jeff
 
This is a bit of a kludge, so if anyone has a better idea, do please post
it, but one way to achieve this is to attach the label to a text box,
disable the text box, and set the back color and border color of the text
box to transparent, effectively making it invisible.
 
Back
Top