psToolTip - cToolbarButton
Determines text that is displayed whenever a tooltip is displayed
Type: Property
Access: Read/Write
Data Type: String
Parameters: None
Syntax
Property String psToolTip
| Access Type | Syntax |
|---|---|
| Read Access: | Get psToolTip to StringVariable |
| Write Access: | Set psToolTip to StringVariable/Value |
Description
When the mouse cursor hovers over a button for a short while, a tooltip will be displayed. Set the psTooltip property to the text that you want displayed whenever a tooltip is displayed. You can create multi-line tooltips by embedding a "\n" in the text, to force a newline.
If you want dynamic tooltips for the button, you can augment the OnShowHint event, to modify this property before it is displayed.
Default is "".
ToolTips can display a single line of text or multiple lines. You can embed the CR LF characters in your ToolTip string to break the string into multiple lines.
Define CR_LF for (Character(13)+Character(10))
Set psToolTip to ("This is a ToolTip string that is split" + CR_LF + ;
"across two lines.")