Toggle region at runtime

Hello,
I'm trying to add some fun factor to my interface.
I'm working on a frame which has a grid on the left (align:alClient) and a region on the right (align: alRight).
Now when you click a row on the grid I make the region visible and when I click a button on the region I hide it.
To make the region visible I'm using the following code :
ARegion.Width := 300;
ARegion.Visible := true;
IWFrameRegion.AjaxReRender();
and the opposite to hide it
I would like to add some easing effect on the region when it appear and desappear.
Is it possible and how ?
Thank you,
Davide
PS
I tried using the Layout component which already has toggle method for its panels but the grid (with align: alClient) didn't align right on the center panel.
I'm trying to add some fun factor to my interface.
I'm working on a frame which has a grid on the left (align:alClient) and a region on the right (align: alRight).
Now when you click a row on the grid I make the region visible and when I click a button on the region I hide it.
To make the region visible I'm using the following code :
ARegion.Width := 300;
ARegion.Visible := true;
IWFrameRegion.AjaxReRender();
and the opposite to hide it
I would like to add some easing effect on the region when it appear and desappear.
Is it possible and how ?
Thank you,
Davide
PS
I tried using the Layout component which already has toggle method for its panels but the grid (with align: alClient) didn't align right on the center panel.