IGNORES THE EVENT "RESIZE" WHEN THE USER RESIZES THE FORM NUMBER N
ACTION
The command OFF_RESIZE N ignores the event "resize" on the FORM designated by the number N: the event subprogram is not executed when the user resizes the FORM.
Remark : the event subprogram is defined by the command ON_RESIZE N,L which assigns the label L as the starting point of the event subprogram.
SYNTAX:
OFF_RESIZE N
USE ERROR EXAMPLE
label resize
dim c%
caption 0,"Resize FORM0 with mouse"
on_resize 0, resize
end
resize:
c%=c%+1
caption 0,"resized "+str$(c%)+" times"
if c%>10 then off_resize 0
return
OFF_RESIZE
OFF_RESIZE N
SEE ALSO
ON_RESIZE