CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Partial screen block

by George » 20 Nov 2014 14:38

Hello!

I installed latest CG release "2.4.0.91".
Lock UI renders outside of required region if frame was created after form render.
Updated demo.

MainForm:
delphi code
procedure TIWForm8.IWCGJQButton2JQButtonOptionsClick(Sender: TObject; AParams: TStringList);
begin
CGCallBackDisableAjaxResponse;
try
FrameComp := TIWCGJQFrame1.Create(Self);
FrameComp.Parent := IWCGJQRegionFrame;
FrameComp.Align := alClient;
finally
CGCallBackEnableAjaxResponse;
end;
IWCGJQLockIndicator1.AjaxReRender(); // to render new value for "Control" property
IWCGJQRegionFrame.AjaxReRender();
end;


Frame:
delphi code
procedure TIWCGJQFrame1.IWCGJQFrameCreate(Sender: TObject);
begin
FORM.IWCGJQLockIndicator1.Indicators.Items[1].Control := IWCGJQRegionToLock;
FORM.IWCGJQLockIndicator1.Indicators.Items[1].PositionOptions.InElement := True;
IWCGJQButton2.JQButtonOptions.OnClick.Indicator := FORM.IWCGJQLockIndicator1;
IWCGJQButton2.JQButtonOptions.OnClick.IndicatorIndex := 1;
end;
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Alexander Bulei » 20 Nov 2014 18:02

Hi George,

Unfortunately, the changing of properties of lockIndicator is not supported asynchronously (even with AjaxReRender).

If you need implement this behavior, you need use the submit (Ajax=False).

I will create the ticket for that feature, but I can't promise you...

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 George » 20 Nov 2014 18:57

Hi
Unfortunately, the changing of properties of lockIndicator is not supported asynchronously (even with AjaxReRender).
If you need implement this behavior, you need use the submit (Ajax=False).

Understood... :cry:
Honestly, i can't use Ajax=False.

I created public ticket, to know if you will implement that feature.
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by George » 10 Aug 2015 16:06

Hello!

I have few more places where feature than was described in this thread is really required (((
New awesome filter panel, for example...

Can you check it again, usage of current lock indicator can be greatly extended with async configuration.
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by George » 10 Aug 2015 17:13

Or maybe you can add property "DisableIndicator" to component event settings.
If it's possible somehow.

What i need - is disable indicator for some async events, while global indicator is assigned.
I know about "Indicator" property, but it cannot be configured from frame when indicator placed on main form.
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Alexander Bulei » 12 Aug 2015 16:09

Hi George,

Since the LockIndicator doesn't support the ajax change, it's impossible to do that.
Moreover, you have global indicator, it's mean, will apply to all events automatically.

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 George » 12 Aug 2015 16:11

Hi!
Is there a way to mark some events as excluded?
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Alexander Bulei » 12 Aug 2015 16:34

Hi George,

Is there a way to mark some events as excluded?


No, no way :(
The code is rendered to page on load.

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

Previous

Return to JQLockIndicator

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.