Progress
External Program
Interfaces
An Example ActiveX Control In Progress
Figure 9–1 shows a spin button control (the large left- and right-arrow buttons) implemented in the example application,
e-ocx1.w
. This spin button control overlays a portion of the frame space defined by a Progress control-frame widget.NOTE: This spin button control is one of three ActiveX controls provided with your Progress installation. The other two are combo box and timer controls. For more information on these controls, see the "ActiveX Controls and Examples Installed With Progress" section.Figure 9–1: ActiveX Control Example
![]()
In this example, the control-frame (and thus, the control itself) has been largely stretched in the horizontal direction and slightly stretched in the vertical to present a convenient access point in the dialog box. A spin button control is generally designed to provide incremental and decremental values, like a slider. This application uses the events generated by spin button value changes to scan back and forth through a list of Customer records in the sports database. It uses the incremental and decremental control values to maintain a record count (Record Number field). Later sections show how the application handles these spin button control events and values in the 4GL.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |