CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Partial screen block

by George » 18 Nov 2014 09:44

Hello!

I understood, that locking entire screen is not great idea in most cases.
For example, i have frame and region with items and search bar (simple edit field).
When user fills edit field, i need update region. To demonstrate that something happening i want lock region with items.
To see what i mean, you can follow this link.

I created new lock indicator item and connected it to corresponding async event of edit control.
Now, new lock indicator opens when required, but overlay locks all screen.

How to lock only one region?
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Alexander Bulei » 18 Nov 2014 10:34

Hi George,

Look better in TIWCGJQLockIndicatorItem class.

Documentation

P.S: Why we have to search in our documentation for 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 » 18 Nov 2014 10:39

I already done this before ask :)

Control: Control to block/show loading indicator.
As i understand, thats what i need, but lock indicator renders not inside selected control.

I'm going to try it with new clean project and let you know results.
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by George » 18 Nov 2014 11:10

Here is my demo.

Works fine with form, but not works with frame.
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Alexander Bulei » 18 Nov 2014 11:32

Hi George,

Please hold on, I have detected some issues...

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 Alexander Bulei » 18 Nov 2014 12:08

Hi again,

I have improved the PositionOptions property.
Now, when you assign the control in TIWCGJQLockIndicatorItem, also sets the PositionOptions.InElement property automatically.

So, for now (until next beta build), you need assign the controls and set the PositionOptions.InElement to True.

PS: In your example, you have not assigned the control on the second item.

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 » 18 Nov 2014 13:13

I have improved the PositionOptions property.
Now, when you assign the control in TIWCGJQLockIndicatorItem, also sets the PositionOptions.InElement property automatically.

Great)

PS: In your example, you have not assigned the control on the second item.

There was "IWCGJQFrame1.IWCGJQRegionToLock".
But after reopening form value is empty :(
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Alexander Bulei » 18 Nov 2014 13:15

Hi George,

Set it in runtime...

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 » 18 Nov 2014 13:19

Alexander Bulei wrote:Hi George,
Set it in runtime...
Best Regards.

Ok, it works now. Thanks! ;)
Is it temporary workaround or permanent solution?
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Alexander Bulei » 18 Nov 2014 13:27

my previous post...
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

Next

Return to JQLockIndicator

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.