MouseWheel Events

Hi;
I want to scroll up and down on the dbgrid. So I used the form's MouseWheelDown and up event. But when the form is activated, I think it does'nt get focus by default. I scroll down but there is no action. When I click on button, then it responds to the mouse events. I tried Form.setfocus but it didn't work. Can anyone tell what is missing or wrong?
One more question: If I make quick moves on the dbgrid, two, three or more arrow are seen on the leftmost side of the grid. How can I prevent this?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories