Hi Fabio,
>* MouseWhell
>LPARAMETERS nDirection, nShift, nXCoord, nYCoord
>NODEFAULT
>* now you can control the operation
>* Example : 1 line
>RETURN Grid::DoScroll(IIF(m.nDirection>0,0,1))
>* Example : 1 page
>RETURN Grid::DoScroll(IIF(m.nDirection>0,2,3))
>
Thank you for your code. Your example gave me some ideas on a totally different project which is a bonus.
Unfortunately, I'm not talking about scrolling a grid by rotating the mouse wheel - I'm talking about scrolling a grid by clicking on the mouse wheel button and then moving the mouse up or down to begin auto-scrolling.
UPDATE: Just read my original post title and realize its confusing and not accurate. I apologize about that.
Thanks again for your help,
Malcolm