"stack "Calcolo Ferie - ROL - Monte Ore": execution error at line 2 (Handler: can't find handler) near "EnableDisableControl", char 1"
Where am I wrong?
Code: Select all
on openStack
EnableDisableControl true
##set the disabled of group "groupMainControls" to true
end openStack
function EnableDisableControl TrueFalse
if TrueFalse = true then
set the disabled of group "groupMainControls" to true
else
set the disabled of group "groupMainControls" to false
end if
end EnableDisableControl