IGNORES THE EVENT "MOVE" WHEN THE USER MOVES THE FORM NUMBER N
ACTION
The command OFF_MOVE N ignores the event "move" on the FORM designated by the number N: the event subprogram is not executed when the user moves the FORM.
Remark : the event subprogram is defined by the command ON_MOVE N,L which assigns the label L as the starting point of the event subprogram.
SYNTAX:
OFF_MOVE N
USE ERROR EXAMPLE
label move
dim c%
caption 0,"Move FORM0 with mouse"
on_move 0, move
end
move:
c%=c%+1
caption 0,"moved "+str$(c%)+" times"
if c%>10 then off_move 0
return
OFF_MOVE
OFF_MOVE N
SEE ALSO
ON_MOVE