Change label colour on event

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.
 
A

Arvin Meyer [MVP]

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.
 

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

Top