Hi!
You can use KeyPress event of the form. Set KeyPreview property to .T., so the key pressing will go to the KeyPress event of the form. Than look if grid is focused and if yes, handle that key. You can scroll grid using DoScroll method.
>hello all
>
>i want some function to be called in the grid when i press pagedown button in grid keypress event what is the codes which will call that funtion that function
>
>thanks
>Mohammed
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.