Change label colour on event

  • Thread starter Thread starter Theresa
  • Start date Start date
T

Theresa

Hi,
I have a form with a list of labels that act as selections.
At present I can change the colour of the labels using mouse up and mouse
down events using individual code specific to the label.
I have other labels I want to change colour on mouse events but I don't want
to individually code them.
My Question:
I need a macro that changes the colour of a label, for the label with the
current focus. This way I need only one macro that I can embed in all my
labels.
Thanks.
 
Although labels have a click event, they can never get focus. As you
mentioned, you can also use Mouse Events. The only way deal with labels is
to use these events, a Mouse on the Detail Section, or Command Button event.
 
Back
Top