EXECUTES THE PROGRAM FROM LABEL L WHEN THE SYSTEM OBJECT NUMBER N IS DOUBLE-CLICKED
ACTION
The command ON_DOUBLE_CLICK N,L assigns a label (which must be defined in the program) from which the program will run every time the user double-clicks on the system object designated by the number N.
The system object must be one of the following types: SCENE3D, EDIT, MEMO, COMBO, ALPHA, FORM, LIST, PICTURE, OPTION, SPIN, GRID, CONTAINER.
SYNTAX:
ON_DOUBLE_CLICK N,L
USE ERROR EXAMPLE
label col
dim c%
c%=3
edit 1
top 1,60
width 1,200
text 1,"double-click on me "+str$(c%)+" times"
on_double_click 1, col
end
col:
text 1,"double-clicked"
wait 250
c%=C%-1
text 1,"double-click on me "+str$(c%)+" times"
if c%=0
off_double_click 1
text 1,"double-click is inactive"
end_if
return
ON_DOUBLE_CLICK
ON_DOUBLE_CLICK N,L
SEE ALSO
OFF_DOUBLE_CLICK
DOUBLE_CLICKED()
NUMBER_DOUBLE_CLICK