PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Control hovered by the mouse cursor
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
Identifies the control hovered by 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(Rollover, "*.* ", 512)
// -- "Rollover" procedure
PROCEDURE Rollover()
Trace(ControlOver())
Syntax
<Result> = ControlOver([<Invisible Controls> [, <Hovered Window>]])
<Result>: Character string
  • Name of the control, column or window hovered by the mouse cursor.
  • Empty string ("") if no control is hovered by 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 by the mouse cursor,
  • False (default) if an empty string must be returned when no control is hovered by the mouse cursor.
Remarks

Control hovered by the mouse cursor

  • If several controls are hovered by 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 by the mouse cursor, the name of the column is returned.
  • The controls not found in the active plane are considered as being invisible.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment