CA Gen supports OCXs (OLE custom controls).
Each OCX comes with its own set of events. Some of the events may have the same names as the events CA Gen offers (for example, CHANGED or OPEN), but the events that come with the OCX are available only to the control itself.
The following illustration shows an example of three OCXs, two of which are spin buttons, while the other is a calendar.

The calendar contains the following events that it makes available to the CA Gen application.
These events can be filled by whatever action diagram statements are appropriate for each of the possible actions.
Attributes are provided by certain OCX events. For example, the Calendar OCX CLICK event makes available an attribute named the date. The next sample code provides an example of how the OCX CLICK event is used.
|
Copyright © 2013 CA.
All rights reserved.
|
|