Disappearing Label Control

Hello Everyone!

I have a databound label control on a form with the text property set to an empty string. I know where the label is supposed to be on the form, however, no matter how many times I click in the general area, I can never seem to select the label. Does anybody know an alternate way to select or highlight a control on a form without having to click on it

Thanks in advance for any help!

Tony




Answer this question

Disappearing Label Control

  • Julius1966

    You can select it using the Properties window. There's a combobox there where you can select any control on the Form or the Form itself. If you don't see the properties window, make sure it's checked under the View menu
  • autonomousDE

    Thanks for the reply! I was actually referring to how to locate the label control within the form designer in the IDE. When the label control text property is set to an empty string, the control disappears in the form designer. I would like to move the control to a different location on the form, however, I've been clicking the area where the label is supposed to be and I can't seem to select it. Is there another way within the IDE to highlight a control (other than clicking on it) so it will appear in the properties window and be outlined in design view

  • mabeghin

    Thanks very much. That's exactly what I was looking for!!

  • wwwj

    You can select a control by calling the Select() method on the control. However, Label's do not have any UI cues for selection. LinkLabels do. You can tweak the colors and behavior so it looks like a normal Label but looks selectable.
  • Disappearing Label Control