Activex Objects; Overview; Inserting A New Object; Editing Properties At Design Time - Omron CX-Supervisor User Manual

Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Overview

5-1
Overview
5-2

Inserting a new object

1, 2, 3...
5-3

Editing Properties at Design Time

1, 2, 3...
This chapter describes the process of using ActiveX objects within CX-
Supervisor applications.
The Microsoft Windows ActiveX technology allows objects called 'components'
to be developed, and are used by inserting them into an ActiveX container, like
CX-Supervisor. ActiveX components may perform many different functions,
which can be graphical or non-graphical, but they follow standard rules for
defining their Properties, Methods and Events. Properties are like settings, for
example a control's colour would be a property. Methods are like functions or
actions that can be called for example a control might support a Redraw
method. Events are actions the control may create, like OnLeftClick. Following
these standard rules allows any ActiveX control from any manufacturer to
work in any container.
A new ActiveX control may be inserted on the page as follows:
1. Click the page in which the object is to be inserted.
2. Turn on the ActiveX toolbar from the View | Toolbars menu.
3. If the control you require already exists on the ActiveX toolbar:
a. Select the required control.
or if the required control is not on the toolbar:
b. Click
button and select the required component from the dialog
box:
4. Draw a rectangle in the desired position.
The properties of ActiveX objects can be edited during the design stage using
the following procedure:
1. Open the ActiveX Property Browser by clicking the
or by selecting the ActiveX Property Browser option from the Utilities
menu.
SECTION 5 ActiveX Objects
SECTION 5

ActiveX Objects

button in the toolbar
75

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents