ENTRY IMPORT_OnClick
INT _rows
INT _cols
; detection of the structure size stored in Clipboard
_rows := %HI_Get_Clipboard_Rows()
_cols := %HI_Get_Clipboard_Cols()
IF _rows=0 | _cols=0 THEN
; Clipboard is empty
ELSE
; Reading the Clipboard content
%HI_From_Clipboard(_recFrom^Real, "")
ENDIF
END IMPORT_OnClick
Pridať komentár