EXECUTES THE PROGRAM FROM LABEL L WHEN THE USER MOVES THE FORM NUMBER N
ACTION
The command ON_MOVE N,L assigns a label (which must be defined in the program) from which the program will run every time the user moves the FORM designated by the number N.
Remark : for the moment, N must be equal to 0.
SYNTAX:
ON_MOVE N,L
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
ON_MOVE
ON_MOVE N,L
SEE ALSO
OFF_MOVE