ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions
  • Control hovered over with the mouse cursor
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
Identifies the control hovered over with the mouse cursor.
Example
// Display the name of the hovered controls in a trace
 
// -- Initialization code of window
// Take the window and the window controls into account
Event(Hover, "*.* ", 512)
// -- "Hover" procedure
PROCEDURE HoverOver()
Trace(ControlOver())
Syntax
<Result> = ControlOver([<Invisible Controls> [, <Hovered Window>]])
<Result>: Character string
  • Name of the control, column or window hovered over with the mouse cursor.
  • Empty string ("") if no control is hovered over with the mouse cursor.
<Invisible Controls>: Optional boolean
  • True if the invisible controls must be taken into account.
  • False (by default) if the invisible controls must not be taken into account.
<Hovered Window>: Optional boolean
  • True if the name of the window must be returned when no control is hovered over with the mouse cursor,
  • False (default) if an empty string must be returned when no control is hovered over with the mouse cursor.
Remarks

Control hovered over with the mouse cursor

  • If several controls are hovered over with the mouse cursor, the name of the control with the highest Z-order position is returned (which means the name of the control in the foreground).
  • If a table column is hovered over with the mouse cursor, the name of the column is returned.
  • The controls not found in the active plane are considered as being invisible.
Component: wd290obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help