is it possible to scroll (by code) a grid to the end ?

hello,

I've a large grid, with more columns that fits on the screen.
Now I want to scroll the grid to the most right columns,
can that be done by code ?

thanks,
Stef

Stef,

How about something like:
    myGrid.MakeCellVisible(0, rightmost_col)

Gadget/Steve

···

On 09/05/2011 1:09 PM, Stef Mientki wrote:

hello,

I've a large grid, with more columns that fits on the screen.
Now I want to scroll the grid to the most right columns,
can that be done by code ?

thanks,
Stef

thanks Steve,
exactly what I was looking for, even more !!

cheers,
Stef

···

On 09-05-2011 15:12, Gadget/Steve wrote:

On 09/05/2011 1:09 PM, Stef Mientki wrote:

hello,

I've a large grid, with more columns that fits on the screen.
Now I want to scroll the grid to the most right columns,
can that be done by code ?

thanks,
Stef

Stef,

How about something like:
    myGrid.MakeCellVisible(0, rightmost_col)

Gadget/Steve

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

···

On 09/05/2011 4:04 PM, Stef Mientki wrote:

On 09-05-2011 15:12, Gadget/Steve wrote:

On 09/05/2011 1:09 PM, Stef Mientki wrote:

hello,

I've a large grid, with more columns that fits on the screen.
Now I want to scroll the grid to the most right columns,
can that be done by code ?

thanks,
Stef

Stef,

How about something like:
myGrid.MakeCellVisible(0, rightmost_col)

Gadget/Steve

thanks Steve,
exactly what I was looking for, even more !!

cheers,
Stef

My pleasure.

Gadget/Steve