Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Re: OnMouseOver in VB


Message #1 by "Joe Namath" <JN1667@y...> on Wed, 27 Feb 2002 18:44:21
The MouseMove event is equivalent to OnMouseOver, except that you will 
also need to trap the MouseMove event of adjacent controls (or form 
space) to turn off whatever effect you activate (as there is not a 
MouseGone event).  You could also start a timer when MouseMove triggers 
over a control and check the X/Y coord. every so often to see if user has 
moved the mouse off the control, then resetting your state.

Not pretty ....
R

> > 
> > 
> > Does anyone know how to simulate an OnMouseOver() event (Similar to 
the
> > one for HTML) for a control in VB?  
> > Cheers,
> > 
> > padgett
> > 
> > ********************
> > Padgett Rowell 
> > Aspect7
> > Office: +61 (08) 9202 1433
> > Mobile: 0402 122 419
> > 
> > 

  Return to Index