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
ActiveXEvent (Function)
In French: ActiveXEvénement
Associates a procedure written in WLanguage with an event of an ActiveX control.
Once ActiveXEvent has been run, the procedure will be run whenever the selected event is triggered.
Example
// -- Initialization code of the ActiveX control named AX_AVIReader
ActiveXEvent("My_Procedure", AX_AVIReader, "OnClick")
// -- Procedure My_Procedure
PROCÉDURE My_Procedure(XCoord, YCoord)
Info("Coordinates of the click: " + XCoord + "," + YCoord)
Syntax
ActiveXEvent(<Procedure> , <Control Name> , <Event Name>)
<Procedure>: Character string (with or without quotes)
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).
<Control Name>: Character string (with or without quotes)
Name of the ActiveX control.
<Event Name>: Character string
Name of the event associated with the ActiveX that triggers the procedure.
Remarks
  • We advise you to call ActiveXEvent in the initialization code 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:
Internet browser 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.
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