Subject Re: [IBO] TIB_Grid
Author James
Hi Ulrich

Ulrich wrote:

>Hello,
>
>I would like to show a button in one special column, to open my own
>editor. Is this possible?
>
>How can I calculate the x/y pixel position from a focused cell to
>move my own inplace editor to this place on the grid?
>
>Best - Ulrich
>
>
>
To place a button in one of your column in your ib_grid, go to the
EditLinks property in your ib_grid(go see the object inspector), then
from there put the field name of your dataset which you want the button
to appear. Then put some code for that button in the OnEditButtonClick
event to open your own editor.

To move the focused cell in the grid use ... moveby(rawcol,
direction:integer) method of the ib_grid. the rawcol is the column where
you want the focused to be ... Iam not sure with the direction but I
always put 1 in it and it works fine with me.

James