CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Smooth changing of PanelRegion width (like manual dragging)

by jorgo » 26 Jul 2016 11:05

Hallo,

I'm testing TIWCGJQLayout component with 2 TIWCGJQLayoutPanelRegions.

Code: Select all
LAY_BasisPanel: TIWCGJQLayout;
LAY_ClientPanel: TIWCGJQLayoutPanelRegion;
LAY_RightPanel: TIWCGJQLayoutPanelRegion;

LAY_ClientPanel.Align := alClient;
LAY_RightPanel.Align := alRight;
LAY_RightPanel.Width := 300;


By hand I can change the width of both panels smoothly by dragging the border between both panels.

How can I do that by source code?

(Following is runing, but it's not so smooth as by hand. It's plopping in new positions.)

Code: Select all
LAY_RightPanel.Width := 500;
LAY_BasisPanel.AjaxReRender(false, true);
jorgo
 
Posts: 108
Joined: 13 Jul 2016 15:57

by Alexander Bulei » 26 Jul 2016 16:17

Hi,

By hand I can change the width of both panels smoothly by dragging the border between both panels.

How can I do that by source code?


No, there is no way to do that smoothly...

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by jorgo » 27 Jul 2016 09:48

No sorry,

I mean how can I change the Width to 500 without a AjaxReRender.
I don't want to loose input in all data fields.

Both panels have to change their width.
jorgo
 
Posts: 108
Joined: 13 Jul 2016 15:57

by Alexander Bulei » 27 Jul 2016 10:58

Hi,
You can change the width/height without AjaxReRender.

P.S: Please tell me your client ID.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by jorgo » 08 Aug 2016 07:28

Hallo,

we registered on last friday.

Where can I find this client ID?

Kind regards
jorgo
 
Posts: 108
Joined: 13 Jul 2016 15:57

by Alexander Bulei » 08 Aug 2016 10:32

Hi jorgo,

On the invoice that we send you.
P.S: For the security reasons, please send us via email.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQLayout

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.