PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Tooltip of a Tab control
  • Tooltip associated with a Radio Button and/or Check Box control
  • Tooltip associated with an element in a Breadcrumb control
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..ToolTip is used to find out and modify the text displayed in the tooltip associated with a control found in a window or in a page.
Reminder: To type the message displayed in the tooltip of a control in the editor:
  1. Open the control description window ("Description" in the popup 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 22 and later
WEBDEV - Browser code This property is now available in browser code.
New in version 22
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Browser code This property is now available in browser code.
Example
WEBDEV - Server codeAjax
// Change the text of the tooltip for the element 2
// in a Breadcrumb control
SMP_Breadcrumb[2]..ToolTip = "New tooltip"
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.
Remarks
WEBDEV - Server code

Tooltip of a Tab control

For the Tab controls, a tooltip can be defined for each one of the tab panes.
WEBDEV - Server codePHP

Tooltip associated with a Radio Button and/or Check Box control

A tooltip can be defined for the control and for each option. For example:
RADIO_MyRadioButton[1]..ToolTip = "Option #1"
WEBDEV - Server codeAjax

Tooltip associated with an element in a Breadcrumb control

For Breadcrumb controls, the tooltip of each element in the path is defined:
..ToolTip is used to find out and modify the tooltip of each element of the breadcrumbs. For example:
SMP_MyPath[1]..ToolTip = "Tooltip element 1"
WEBDEV - Browser code

Limits

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