ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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.
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

Last update: 10/31/2023

Send a report | Local help