PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
Android Remarks:
  • Android The ToolTip property is used to insert images and colored text into the tooltip via the gXXX functions.
Reminder: To type the message displayed in the tooltip of a control in the editor:
  1. Open the control description window (select "Description" in the context menu).
  2. In the "Help" tab, in the "Tooltip" area, type the text of the tooltip.
    Remarks:
    • In a multilingual application, the text of the tooltip can be typed in several languages.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Versions 24 and later
Android This property is now available for Android applications.
New in version 24
Android This property is now available for Android applications.
Android This property is now available for Android applications.
Example
Universal Windows 10 App
// Change the tooltip text according to the type of user
IF User_Type = 0 THEN
EDT_Name.ToolTip = "Type the customer name"
ELSE
EDT_Name.ToolTip = "Customer name"
END
Syntax

Finding out the text of the tooltip Hide the details

<Tooltip text> = <Control used>.ToolTip
<Tooltip text>: Character string
Current text of tooltip associated with the control.
Remark: If the text of the tooltip is in RTF, the text returned will contain the RTF tags.
<Control used>: Control name
Name of the control for which the text of the tooltip is requested.

Modifying the text of the tooltip Hide the details

<Control used>.ToolTip = <New tooltip text>
<Control used>: Control name
Name of the control for which the text of the tooltip must be modified.
<New tooltip text>: Character string
New text for the tooltip associated with the control. If this text corresponds to an empty string (""), no tooltip will be displayed for this control.
Android This text can contain images and it can be formatted by using the gXXX functions of WLanguage.
Remarks
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment