How to associate a label to a control

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

In form design when using the wizard to create a control like text box or
list box, it automatically create the label for it and it is associate to
that control. Therefore when that control changes from "enable" to
"disable", the font color on the label for that control changes accordingly.
I created a label and seperate control not by using wizard and I want to
assocaite the label to that control. But how? Thanks.
 
To attach a label to a text box:
1. Select the label.
2. Cut to clipboard (Ctrl+X)
3. Select the text box.
4. Paste (Ctrl+V).
 
1. Select the label
2. Right click - Cut to remove from the form
3. Select the text box
4. Right click - Paste and the label will re-appear but will now be associated to the text box
 
In form design when using the wizard to create a control like text box or
list box, it automatically create the label for it and it is associate to
that control. Therefore when that control changes from "enable" to
"disable", the font color on the label for that control changes accordingly.
I created a label and seperate control not by using wizard and I want to
assocaite the label to that control. But how? Thanks.

Select the label.
Cut it.
Select the control you wish it to be attached to.
Paste it.
 
Back
Top