On Mouse Move Question

  • Thread starter Thread starter JamesJ
  • Start date Start date
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
 
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.
 
Back
Top