Subject | RE: [IBO] Change Focused Cell in a Grid |
---|---|
Author | Leigh J. Worthing |
Post date | 2004-02-01T16:23:21Z |
Thanks! I thought it must be something simple. BufferMoveBy is what I
need.
Leigh
-----Original Message-----
From: Markus Ostenried [mailto:chef_007@...]
Sent: Sunday, February 01, 2004 11:10 AM
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] Change Focused Cell in a Grid
At 10:42 Sunday, 01.02.2004 -0500, you wrote:
click
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
________________________________________________________________________
___
IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
without the need for BDE, ODBC or any other layer.
________________________________________________________________________
___
http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/IBObjects/
To unsubscribe from this group, send an email to:
IBObjects-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
need.
Leigh
-----Original Message-----
From: Markus Ostenried [mailto:chef_007@...]
Sent: Sunday, February 01, 2004 11:10 AM
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] Change Focused Cell in a Grid
At 10:42 Sunday, 01.02.2004 -0500, you wrote:
>How do I programmatically change the focused cell in a TIB_Grid? Iknow
>I can use MoveCol to move to a specific column but I want to change thenot sure, if I understood your question, but here's a thought: if you
>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.
click
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
________________________________________________________________________
___
IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
without the need for BDE, ODBC or any other layer.
________________________________________________________________________
___
http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/IBObjects/
To unsubscribe from this group, send an email to:
IBObjects-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/