Subject | RE: [IBO] Change Focused Cell in a Grid |
---|---|
Author | Markus Ostenried |
Post date | 2004-02-01T16:09:30Z |
At 10:42 Sunday, 01.02.2004 -0500, you wrote:
in the grid to focus a cell then that will change the current record in the
underlying dataset. So, can't you just call Grid.Datasource.Dataset.Next or
Grid.Datasource.Dataset.Locate() ? Then the grid will reflect the change
and move the row indicator to the corresponding row.
HTH,
Markus
>How do I programmatically change the focused cell in a TIB_Grid? I knownot sure, if I understood your question, but here's a thought: if you click
>I can use MoveCol to move to a specific column but I want to change the
>row in the same column. I have searched the archives and the FAQ's.
>Since the answer is not there I assume I am over looking something
>simple.
in the grid to focus a cell then that will change the current record in the
underlying dataset. So, can't you just call Grid.Datasource.Dataset.Next or
Grid.Datasource.Dataset.Locate() ? Then the grid will reflect the change
and move the row indicator to the corresponding row.
HTH,
Markus