COPY TO THE CLIPBOARD THE SELECTED TEXT OR THE PICTURE FROM THE SYSTEM OBJECT NUMBER N
ACTION
The command CLIPBOARD_COPY N copies to the operating system clipboard the selected text of the system object number N (MEMO), or the picture from the system object number N (PICTURE ou IMAGE).
The system object is a MEMO, PICTURE, IMAGE.
SYNTAX:
CLIPBOARD_COPY N
USE ERROR EXAMPLE
label copy
memo 1:rem create a MEMO
memo 2:rem create a second one
top 2,100
item_add 1,"line 1":rem add it a line
caption 0,"select this line then clic on FORM0"
on_click 0,copy
end
copy:
clipboard_copy 1
clipboard_paste 2
caption 0,"copied to the second MEMO"
return
CLIPBOARD_COPY
CLIPBOARD_COPY N
SEE ALSO
CLIPBOARD_CUT
CLIPBOARD_PASTE