Getting grid cursor to a specific cell

Hello everybody!

I would like to know if there is a way to programmatically focus
on a specific cell in a grid. I tried MoveCursorUp() and
SelectBlock() but its not the behavior i want. To be more
specific , in my app , if a user enters an invalid value in a cell ,
after warning him about the mistake he made , i want the cursor
to return to that cell , and not to the one below it.
Thank you in advance for your help!

Elias Alhanatis
Eternal Newbie

Elias Alhanatis wrote:

Hello everybody!

I would like to know if there is a way to programmatically focus
on a specific cell in a grid. I tried MoveCursorUp() and
SelectBlock() but its not the behavior i want. To be more
specific , in my app , if a user enters an invalid value in a cell ,
after warning him about the mistake he made , i want the cursor
to return to that cell , and not to the one below it.

Try SetGridCursor(row, col).

HTH

Frank Millman