Page 1 of 2

Partial screen block

PostPosted: 18 Nov 2014 09:44
by George
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?

Re: Partial screen block

PostPosted: 18 Nov 2014 10:34
by Alexander Bulei
Hi George,

Look better in TIWCGJQLockIndicatorItem class.

Documentation

P.S: Why we have to search in our documentation for you? :|

Best Regards.

Re: Partial screen block

PostPosted: 18 Nov 2014 10:39
by George
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.

Re: Partial screen block

PostPosted: 18 Nov 2014 11:10
by George
Here is my demo.

Works fine with form, but not works with frame.

Re: Partial screen block

PostPosted: 18 Nov 2014 11:32
by Alexander Bulei
Hi George,

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

Best Regards.

Re: Partial screen block

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

Re: Partial screen block

PostPosted: 18 Nov 2014 13:13
by George
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 :(

Re: Partial screen block

PostPosted: 18 Nov 2014 13:15
by Alexander Bulei
Hi George,

Set it in runtime...

Best Regards.

Re: Partial screen block

PostPosted: 18 Nov 2014 13:19
by George
Alexander Bulei wrote:Hi George,
Set it in runtime...
Best Regards.

Ok, it works now. Thanks! ;)
Is it temporary workaround or permanent solution?

Re: Partial screen block

PostPosted: 18 Nov 2014 13:27
by Alexander Bulei
my previous post...