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 tagRecord whose contents identifies the resource (will be HSON encoded)
RECORD optionsOptions
onbeforestealCalled just before the exclusive access will be stolen
onstolenCalled after the exclusive access has been stolen
Return value
BOOLEANTRUE if exclusive access has been granted