Purpose

.ToolTip allows you to specify the text to be displayed as a Windows tooltip when the mouse hovers over certain objects.
 

Syntax

Setting:         ObjectReference.ToolTip = Value

Retrieving:    Variable = ObjectReference.ToolTip
 

Operation

ObjectReference is the Tag Name of the object
Value is a character string
Variable is an alphanumeric variable

 

Remarks

The maximum size of the tooltip is 250 characters.  It will be displayed on the screen as a single line; multi-line is not supported.

The value returned in the retrieving command is in the same format it was specified.
 

Example

To set the ToolTip property for an Icon object (Tag Name = CUSTOMERACTIVEICON):

CUSTOMERACTIVEICON.ToolTip = "Change Visa Credit Card Number"


To do the same but using a variable:

$VISA_TT = "Change Visa Credit Card Number"
CUSTOMERACTIVEICON.ToolTip = $VISA_TT


To retrieve the value of the .ToolTip

$CUSTOMERACTIVEICON_TT = CUSTOMERACTIVEICON.ToolTip
 

Comment on this topic

Topic ID: 510095