|
|
|
|
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. // -- Initialization of the ActiveX control AX_AVIReader ActiveXEvent("My_Procedure", AX_AVIReader, "OnClick") // -- Procedure My_Procedure PROCEDURE My_Procedure(XCoord, YCoord) Info("Coordinates of the click: " + 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 provides no technical support about the operating mode of ActiveX controls.
You will find the different events generated by the ActiveX control in its documentation.
Related Examples:
|
Unit examples (WINDEV): Internet browser
[ + ] Using and controlling an Internet browser (Internet Explorer) in a WINDEV window. The following topics are presented in this example: 1/ How to include a browser in a WINDEV window 2/ How to control this browser This example is used to surf on Internet from a WINDEV window. Some common browser features have been used: Back, Next, Home, Stop, .... This can be very useful to display a Web page in your application directly.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|