COPY TO THE CLIPBOARD THEN CLEAR THE SELECTED TEXT OF THE SYSTEM OBJECT NUMBER N (MEMO)
ACTION
The command CLIPBOARD_CUT N copies to the operating system clipboard the selected text of the system object number N, then clear the selected text.
The system object is a MEMO.
SYNTAX:
CLIPBOARD_CUT N
USE ERROR EXAMPLE
label cut
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,cut
end
cut:
clipboard_cut 1
clipboard_paste 2
caption 0,"copied to the second MEMO"
return
CLIPBOARD_CUT
CLIPBOARD_CUT N
SEE ALSO
CLIPBOARD_COPY
CLIPBOARD_PASTE