|
|
|
|
|
- Overview
- Properties and methods of the ActiveX
- Events associated with the ActiveX
Manipulating an ActiveX control programmatically
WINDEV allows you to manipulate an ActiveX control in WLanguage via: - properties and methods
- events
Properties and methods of the ActiveX An ActiveX is associated with properties and methods. These properties and methods can be used in WLanguage to handle the ActiveX control directly. To do so, use the Automation syntax of WLanguage. For example:
AVIReader>>Zoom=12
AVIReader>>Pause(10)
To find out the properties and methods associated with an ActiveX, you can: - see the documentation of the ActiveX control.
- use WDXVIEW provided with WINDEV.
- use the automatic completion of WINDEV. The properties and methods of the ActiveX are automatically proposed by the code editor. For example, for the "Microsoft WEB Browser" ActiveX, we get:
Events associated with the ActiveX WLanguage allows you to manage the events generated by an ActiveX control with ActiveXEvent. This function allows you to associate a procedure of your project with the requested event. For example:
ActiveXEvent("My_procedure","AVIReader","OnClick")
To find out the events associated with an ActiveX, you can: - see the documentation of the ActiveX control.
- use WDXVIEW provided with WINDEV.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|