Progress
Application Development
Environment — Getting Started
Task List and Short Procedure
To reach this point, you need to know how to do the following tasks:
- Add a prebuilt SDO.
- Link SDOs together and map their foreign fields.
- Add a prebuilt SDV.
- Link an SDV to an SDO.
- Create and resize a button.
- Enhance a button with a ToolTip, a Help ID, and an image.
- Code a launch trigger for a button using the Section Editor.
- Create and resize an OCX control.
- Code navigation triggers for an OCX control using the Section Editor.
The following short procedure outlines how to complete these tasks:
- Add a prebuilt SDO,
dorder.w
, to the Order section.To review this procedure, see the "Adding a SmartDataObject For Orders" section.
- Create a Data SmartLink from
dcust.w
todorder.w
.To review this procedure, see Step 3 in the "Adding a SmartDataObject For Orders" section.
- Map the
Customer.CustNum
field to theOrder.CustNum
field.To review this procedure, see Step 4 in the "Adding a SmartDataObject For Orders" section.
- Add a prebuilt SDO,
dordlne.w
, to the Order section.To review this procedure, see the "Adding a SmartDataObject For Order Lines" section.
- Create a Data SmartLink from
dorder.w
todordlne.w
.To review this procedure, see Step 3 in the "Adding a SmartDataObject For Order Lines" section.
- Map the
Order.Ordernum
field to theOrderLine.Ordernum
field.To review this procedure, see Step 5 in the "Adding a SmartDataObject For Order Lines" section.
- Add a prebuilt SDV,
vorder.w
, to the Order Section.To review this procedure, see the "Adding a SmartDataViewer" section.
- Create a Data SmartLink from
dorder.w
tovorder.w
.To review this procedure, see Step 3 in the "Adding a SmartDataViewer" section.
- Create an Update SmartLink from
vorder.w
todorder.w
.To review this procedure, see Step 4 in the "Adding a SmartDataViewer" section.
- Add three buttons with the following properties:
Object Column Row Height Width ToolTip Help ID Image BUTTON-3 14 7.92 2.38 10 Place New Order 3 BUTTON-4 14 10.54 2.38 10 Find Order 4 BUTTON-5 14 13.15 2.38 10 Maintain Order 5To review this procedure, see "Creating and Positioning the Buttons" and "Adding ToolTips, Help IDs, and Images To the Buttons" in the "Detailed Customer Section Procedure" section.
- Use the Section Editor to write CHOOSE event triggers for the buttons.
To review this procedure, see the "Coding Event Triggers For the Order Buttons" section.
- Add and position two control frames, based on the Crescent Spin Control OCX.
To review this procedure, see the "Adding Object Component Extensions" section.
- Give the OCX control frames the following properties:
To review this procedure, see the "Changing the Appearance Of the OCX Controls" section.
- Create the following Text labels:
To review this procedure, see Step 7 in the "Changing the Appearance Of the OCX Controls" section.
- Place a rectangle around each OCX control and its text label.
To review this procedure, see Step 9 in the "Changing the Appearance Of the OCX Controls" section.
- Use the Section Editor to add OCX.SpinDown and OCX.SpinUp triggers for each control frames.
To review this procedure, see the "Coding the Prev/Next Spin Box To Fetch the Previous Record" and "Coding the First/Last Spin Box To Fetch the First Record" sections.
- Run and check your application.
To review this procedure, see the "Viewing the Window" section.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |