ENTRY IMPORT_OnClick
INT _rows
INT _cols
; detection of the structure size placed in Clipboard
_rows := %HI_Get_Clipboard_Rows()
_cols := %HI_Get_Clipboard_Cols()
IF _rows=0 | _cols=0 THEN
; Clipboard is empty
ELSE
; reading the column 1 from Clipboard and copying into the column 'Real'
%HI_From_Clipboard(_recFrom^Real, "")
; or reading as many columns as the variable _recFrom has
%HI_From_Clipboard(_recFrom\HBJ, "")
ENDIF
END IMPORT_OnClick
Pridať komentár