PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
Used to modify:
  • the time-out before displaying the tooltips.
  • the display duration of the tooltips. The current tooltip is automatically closed when the user moves the mouse cursor.
These modifications are performed for the current application.
Example
// The tooltips will be displayed when the controls
// are hovered during more than 1 second
ToolTipDelay(tooltipDelayBeforeOpening, 100)
// The tooltips will be displayed during 5 seconds
ToolTipDelay(tooltipDelayDisplay, 500)
// Restore the default time-out before
// displaying the tooltips
ToolTipDelay(tooltipDelayBeforeOpening, -1)
// Restore the default display duration
// of control tooltips
ToolTipDelay(tooltipDelayDisplay, -1)
Syntax
ToolTipDelay(<Type of Time-out> , <New timeout>)
<Type of Time-out>: Boolean constant
Type of time-out to modify:
tooltipDelayDisplayDisplay duration for the tooltips of controls.
tooltipDelayBeforeOpeningTimeout before displaying the tooltips.
<New timeout>: Integer ou Duration
  • New time-out (in hundredths of a second). This parameter can correspond to:
    • an integer corresponding to the number of hundredths of a second,
    • a Duration variable,
    • Versions 23 and later
      the duration in text format (e.g., 1 s or 10 ms).
      New in version 23
      the duration in text format (e.g., 1 s or 10 ms).
      the duration in text format (e.g., 1 s or 10 ms).
  • -1 to restore the default values (managed by Windows).
Remarks
  • Tooltips are enabled by default in the controls. To disable them, use ShowToolTip.
  • The maximum display duration for the tooltips is set to 32765 ms (32,6 seconds). Tip to use a greater duration: use a Static control that will be made visible or invisible.
  • Versions 26 and later
    This function allows you to set up both standard and custom tooltips.
    New in version 26
    This function allows you to set up both standard and custom tooltips.
    This function allows you to set up both standard and custom tooltips.
Component : wd260obj.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment