PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
EndEvent (Function)
In French: FinEvénement
Cancels the interception of a Windows event on a WINDEV control or window (implemented by Event). The procedure associated with a Windows event will not be called anymore.
Note: The interception of events is automatically stopped when the associated window is closed.
Example
// Capture the mouse click on an edit control
WM_LBUTTONDOWN is int = 513
EventID is int
EventID = Event("MouseClick", "EDT_EDIT1", WM_LBUTTONDOWN)
...
// Stop intercepting WM_LBUTTONDOWN on the "EDT_EDIT1" control
EndEvent(EventID)
Syntax
<Result> = EndEvent(<Event Number>)
<Result>: Boolean
  • True if the interception of the event was canceled,
  • False in case of a problem (incorrect event number for example).
<Event Number>: Integer
Number of the event to cancel (returned by Event).
Components
WINDEVReports and Queries wd230obj.dll
Windows Mobile wp230obj.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment