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:

  1. Add a prebuilt SDO.
  2. Add a prebuilt SDV.
  3. Link an SDV to an SDO.
  4. Create and resize a button.
  5. Enhance a button with a ToolTip, a Help ID, and an image.
  6. Link a Help file to a window.
  7. Code a launch trigger for a button using the Section Editor.

The following short procedure outlines how to complete these tasks:

  1. Add a prebuilt SDO, dcust.w, to the Customer section.
  2. To review this procedure, see the "Adding a SmartDataObject" section.

  3. Add a prebuilt SDV, vcust.w, to the Customer section.
  4. To review this procedure, see the "Adding a SmartDataViewer" section.

  5. Create a Data SmartLink from the SDO to the SDV.
  6. To review this procedure, see Step 4 in the "Adding a SmartDataViewer" section.

  7. Create an Update SmartLink from the SDV to the SDO.
  8. To review this procedure, see Step 5 in the "Adding a SmartDataViewer" section.

  9. Create two buttons with the following properties:
  10. Object
    Column
    Row
    Height
    Width
    ToolTip
    Help ID
    Image
    BUTTON-1
    14
    2.42
    2.38
    10
    Find Customer
    1
    Findcust.jpg
    BUTTON-2
    14
    5.04
    2.38
    10
    Maintain Customer
    2
    mntcust.jpg

    NOTE: The image files are stored in the images subdirectory of your working directory.

    To review this procedure, see the "Creating and Positioning the Buttons" and "Adding ToolTips, Help IDs, and Images To the Buttons" sections.

  11. Link a Help file to your window.
  12. To review this procedure, see the "Adding Help Text To the Window" section.

  13. Use the Section Editor to write CHOOSE event triggers for the buttons.
  14. To review this procedure, see the "Coding Event Triggers For the Buttons" section.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095