Associating label with a control

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

Guest

Hello,

Is their a way to Associating more than 1 label with the same control ? If
so how ?

thank you,
Jeff
 
Jeff,

Simple answer to a simple question... No.

What's your reason for wanting to do this?
 
Hi Steve,

Thank u for the reposnse.

THe reason why I would want this is becuase if I have a Label Associated
with a Text Box & I set the Text Box Enabled propert to FALSE then as it gets
greyed out so does it's Label. I would like for more than 1 Label besided
the Text Box one to get greyed out. I guess I have to change the ForeColor
property ?

Thank you,
Jeff
 
Jeff,

As far as I know, you can't change the ForeColor property to exactly
mimic the appearance of not Enabled. If this doesn't create the effect
you want, you can replace the second label with a text box, but
formatted to appear like a label, with its Control Source set to mimic
the label's caption (e.g. ="my caption"), with its Enabled property set
to No and Locked set to Yes. Then, when you toggle the Enabled of the
"real" textbox to No, at the same time change the Locked property of the
"label textbox" to No.
 
Back
Top