%HI_Get_Clipboard_Rows function


Function
The function detects the number of rows of the text from the Clipboard.
Declaration
INT %HI_Get_Clipboard_Rows()

Parameters
None.
Example
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

Napíšte komentár