Skip to main content
Table of Contents

TTMSFNCAppLock.OnQueryUnlock Event

Occurs when the user attempts to reopen a locked application, allowing custom logic to decide whether unlocking proceeds without showing the password dialog.

API unit family: TMSFNCAppLock Declaring type: TTMSFNCAppLock Inherited from: TTMSFNCCustomAppLock

Syntax

FMX.TMSFNCAppLock.hppPascalC++
OnQueryUnlock: TTMSFNCAppLockQueryUnlockEvent;
__property TTMSFNCAppLockQueryUnlockEvent OnQueryUnlock = {read=FOnQueryUnlock, write=FOnQueryUnlock};

Remarks

The handler may unlock immediately by setting the allow-unlock parameter to True. See TTMSFNCAppLockQueryUnlockEvent for parameter details.