ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Windows Event functions
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
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.
Remark: 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: wd300obj.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