%HI_SetToolTipText function


Function
The function %HI_SetGraphButtonsToolTip sets a text displayed as a tooltip for 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
refId Reference to graphic object (reference variable).
toolTipText Text to display in 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