ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
ActiveXEvent (Function)
In french: ActiveXEvénement
Associates a procedure written in WLanguage with an event of ActiveX control.
Once ActiveXEvent has been run, the procedure will be run whenever the selected event is triggered.
Example
// -- Initialisation du champ ActiveX AX_LecteurAVI
ActiveXEvent("Ma_Procédure", AX_LecteurAVI, "OnClick")
// -- Procédure Ma_Procédure
PROCEDURE Ma_Procédure(XCoord, YCoord)
Info("Coordonnées du clic : " + XCoord + "," + YCoord)
Syntax
ActiveXEvent(<WLanguage procedure> , <ActiveX control> , <Event>)
<WLanguage procedure>: Procedure name
Name of WLanguage procedure called when the event is triggered.
This procedure must contain the number of parameter supplied by the event and it may return a result (see the documentation of the ActiveX control).
<ActiveX control>: Control name
Name of the ActiveX control.
<Event>: Character string
Name of the event associated with the ActiveX that triggers the procedure.
Remarks
  • It is recommended to call ActiveXEvent in the "Initialization" event of the ActiveX control.
  • Important PC SOFT does not provide detailed support for ActiveX controls.
    You will find the different events generated by the ActiveX control in its documentation.
Component: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help