PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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).
Component : wd250obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment