CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Resize, re-align grid after LayoutPanelRegion resize.

by Peter » 31 Aug 2014 12:50

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
Peter CH
Peter
 
Posts: 9
Joined: 29 Aug 2014 17:23

by Peter » 05 Sep 2014 15:22

Has someone ideas or suggestions ?

Peter
Peter CH
Peter
 
Posts: 9
Joined: 29 Aug 2014 17:23

by Jorge Sousa » 05 Sep 2014 15:24

Hi

Can you send me the your layout frame please? t.i.a.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Peter » 05 Sep 2014 15:40

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
You do not have the required permissions to view the files attached to this post.
Peter CH
Peter
 
Posts: 9
Joined: 29 Aug 2014 17:23

by Jorge Sousa » 05 Sep 2014 17:07

ok, thanks
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Peter » 05 Sep 2014 20:45

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
Peter CH
Peter
 
Posts: 9
Joined: 29 Aug 2014 17:23

by Jorge Sousa » 05 Sep 2014 20:58

Hi

I'm glad you find it!

Yes, WCGJQGrid.JQGridBrowserResize.Active is True by default.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQLayout

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.