Page 1 of 1

Preventing user activity with lock indicator

PostPosted: 06 Sep 2013 22:02
by joelz
When using a lock indicator how do I set it so that all user activity is prevented while the indicator is active?

Re: Preventing user activity with lock indicator

PostPosted: 07 Sep 2013 00:08
by Jorge Sousa
Hello

Thats what Lock Indicator does by definition, it locks the user clicks and keys, while shows an indicator.

Normally you don't need to do anything special, unless, you're using an indicator in a Dialog and Modal.

Since jqdialog, also locks the user, setting a disabled div with an high zindex, and also pops up, you must force

property IndicatorIems[i].BaseZ to an even higher zindex, you can set to 10000 or higher, should be enough.

type
TIWCGJQLockIndicatorItem = class(TIWCGJQCustomLockIndicatorItem)
published
/// <summary>
/// Z-index for the blocking overlay
/// </summary>
property BaseZ: Integer index 11 read GetIntegerValue write SetIntegerValue stored IsIntegerStored;


Best Regards and a nice weekend