Hide a message label behind combo and text boxes

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

Guest

When user is making choices from combo boxes, for 2 particular choices,
further entries and selections are not needed. For these 2 choices the form
hides the superfluous text and combo boxes. In their place I want a message
label to appear. The only way I can think of is to hide the message label
behind the text and combo boxes, and when they are not visible, the message
will be seen. Is there a better way to achieve the same result?
 
Simplest thing might be to use the ControlTipText.

If you have space on the form, you could set a label's Visible propety to
True in the Enter or MouseMove event of the control, and False again in its
Exit event or the MouseMove event of the Detail section.
 

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

Back
Top