4 3 8 ActiveX

LANSA Technical

4.3.8 ActiveX

ActiveX controls are third-party standard reusable components which you can use in any application that supports ActiveX technology. Visual LANSA provides full support of ActiveX.

There are ActiveX controls for, for instance, calendars, text formatting, graphing, spell checking, advanced grids or Web browsers. You can also integrate many applications, such as the Microsoft Office Suite (Word, Excel, Powerpoint etc.) into your Visual LANSA application using ActiveX technology.

You need to enrol ActiveX-enabled applications in the LANSA repository as a component before you can use them from your LANSA application.

You work with ActiveX controls the same way as you work with any other controls: by using the control's properties, methods and events. Some controls are very simple and little programming is required to use them, others provide complex functionality and may require much more coding than is needed than when using native Visual LANSA controls.

Visual LANSA also allows developers to expose LANSA components as ActiveX controls on Microsoft Windows. When a Visual LANSA component (form or reusable part) is compiled, ActiveX controls can be generated exposing nominated properties, events and methods. These features will be exposed via attributes in the components code.

Also See

4.2 Component Definition

Using ActiveX Controls in the Developers Guide.

Ý 4.3 Component Types