On Mouse Move Question

J

JamesJ

I want the Backstyle of a control to change from Transparent
and then back to Normal when the pointer moves off the control
using the On Mouse Move event of the control. I can get the back
style to change to Transparent but no back again.

Thanks,
James
 
R

Ronald Dodge

Look into using the MouseMove event of the form. The reason being, the
mousemove of the control is only triggered when the mouse is over the
control, not when it's over any other part of the form. MouseMove event for
the form though only works when the mouse is not over a control, so it could
be that you may also have to use the MouseMove event of an adjacent control,
if the controls are close enough together.
 

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