IGNORES THE EVENT "SHOW" WHEN THE SYSTEM OBJECT NUMBER N (FORM) IS SHOWN
ACTION
The command OFF_SHOW N ignores the event "show" on the system object designated by the number N: the event subprogram is not executed.
Remark 1: the system object must be of the type FORM.
Remark 2: the event subprogram is defined by the command ON_SHOW N,L which assigns the label L as the starting point of the event subprogram.
SYNTAX:
OFF_SHOW N
USE ERROR EXAMPLE
label show,click
dim k%
k%=0
button 1:width 1,200:top 1,20:left 1,20:caption 1, "Click to hide this FORM"
on_show 0, show
on_click 1, click
end
show:
k%=k%+1
caption 0, "number of SHOWs: "+str$(k%)
off_show 0
return
click:
hide 0
wait 1000
show 0
return
OFF_SHOW
OFF_SHOW N
SEE ALSO
ON_SHOW