%HI_SetToolTipText function


Function
The function %HI_SetGraphButtonsToolTip sets a text displayed as a tooltip for the given graphic object (Control function). The text may be divided into rows by inserting the character CR (%Chr(13)) or LF (%Chr(10)) to it.
Declaration
%HI_SetToolTipText(
   INT in refId, 
   TEXT in toolTipText
 ) 
Parameters
refIdReference to the graphic object (reference variable).
toolTipTextText to display in the tooltip.
Example
 %HI_SetToolTipText(_Btn,"Hello Tom!" + %Chr(10) + %Chr(10) + "I am sending you..." + %Chr(10) + %Chr(10) + "John") 

The text will be displayed as follows:

Hello Tom!

I am sending you...

John

Napíšte komentár