%HI_From_Clipboard( HBJ out _struct | _struct^Col [, TEXT in timeMask] )
_struct | Reading the Clipboard content to the whole local variable of Record type. |
_struct^Col | Reading the Clipboard content to one row of the local variable. |
timeMask | Optional parameter - mask for reading values of Absolute time type. |
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
0 komentárov