ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Tooltip of a Tab control
  • Tooltip of a Radio Button and/or Check Box control
  • Tooltip associated with an element of a Breadcrumb control
  • Limitations
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The ToolTip property gets and sets the text displayed in a tooltip. This tooltip can be associated with:
  • a control in a window,
  • a control in a page,
  • New in SaaS
    a control in a report. In this case, the tooltip will only be visible in the report viewer.
    Note: This feature is only available from WINDEV Suite SaaS 2025 - Update 3.
    For more details, see Using new features exclusive to WINDEV Suite SaaS 2025.
Reminder: To enter the text displayed in the tooltip of a control in the window or page editor:
  1. Open the control description window (select "Description" in the context menu).
  2. On 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
WEBDEV - Server codeAjax
// Change the tooltip text for element 2
// in a Breadcrumb control
SMP_Breadcrumb[2].ToolTip = "New tooltip"
Syntax

Getting the tooltip text Hide the details

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

Changing the tooltip text Hide the details

<Control used>.ToolTip = <New tooltip text>
<Control used>: Control name
Name of the control for which you want to change the tooltip text.
<New tooltip text>: Character string
New tooltip text associated with the control. If this text is an empty string (""), no tooltip will be displayed.
Remarks
WEBDEV - Server code

Tooltip of a Tab control

You can define a tooltip for each tab of a Tab control.
WEBDEV - Server codePHP

Tooltip of a Radio Button and/or Check Box control

You can define a tooltip for the control and for each of its options. For example:
RADIO_MyRadioButton[1].ToolTip = "Option #1"
WEBDEV - Server codeAjax

Tooltip associated with an element of a Breadcrumb control

For Breadcrumb controls, the tooltip of each path element is defined:
The ToolTip property gets and changes the tooltip of each element of the breadcrumb. For example:
SMP_MyBreadcrumb[1].ToolTip = "Tooltip element 1"
WEBDEV - Browser code

Limitations

WEBDEV - Browser code The ToolTip property must be modified before the control hover event to take advantage of the "Tooltip (CSS)" format.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/20/2025

Send a report | Local help