Page 1 of 1

Resize, re-align grid after LayoutPanelRegion resize.

PostPosted: 31 Aug 2014 12:50
by Peter
Hello

I have a IWCGJQRegion, and inside a IWCGJQLayout with 5 LayoutPanelsRegions. The same like in your
demo, the layout frame.

In the center panel i put a grid with alignment alClient.

If I resize panels, the grid size is not resized, is not realigned to the new client dimension.
I tried to call grid procedures refresh, resize, update but probably is the wrong way.

Thanks for help or suggestions

Peter

Re: Resize, re-align grid after LayoutPanelRegion resize.

PostPosted: 05 Sep 2014 15:22
by Peter
Has someone ideas or suggestions ?

Peter

Re: Resize, re-align grid after LayoutPanelRegion resize.

PostPosted: 05 Sep 2014 15:24
by Jorge Sousa
Hi

Can you send me the your layout frame please? t.i.a.

Re: Resize, re-align grid after LayoutPanelRegion resize.

PostPosted: 05 Sep 2014 15:40
by Peter
Hello,
here the form pas with dfm. Removed some third part database components so I hope
you can open it without errors. Almost by resising the right panel, the grid in center
is not re-aligned to client, creating overlapping.
Thanks in advance
Peter

Re: Resize, re-align grid after LayoutPanelRegion resize.

PostPosted: 05 Sep 2014 17:07
by Jorge Sousa
ok, thanks

Re: Resize, re-align grid after LayoutPanelRegion resize. SO

PostPosted: 05 Sep 2014 20:45
by Peter
By investigating and trying in your demo I found that this property must be true:

IWCGJQGrid.JQGridBrowserResize.Active

Then the resize work's perfectly. By default is true.

Regards

Peter

Re: Resize, re-align grid after LayoutPanelRegion resize.

PostPosted: 05 Sep 2014 20:58
by Jorge Sousa
Hi

I'm glad you find it!

Yes, WCGJQGrid.JQGridBrowserResize.Active is True by default.