TolliumScreenBase::GetExclusiveAccessForAction (open)
Request exclusive access for running an action. Upon steal, exclusive access is released immediately and dialogs are cancelled with tolliumresult="".
Syntax
LOADLIB "mod::tollium/lib/screenbase.whlib";
BOOLEAN FUNCTION GetExclusiveAccessForAction(RECORD tag, RECORD options)
Parameters
RECORD tag
Record whose contents identifies the resource (will be HSON encoded)
RECORD options
Options
onbeforesteal
Called just before the exclusive access will be stolen
onstolen
Called after the exclusive access has been stolen
Return value
BOOLEAN
TRUE if exclusive access has been granted