Progress
Application Development
Environment — Getting Started
Arranging Fields In the SmartDataViewer
In this section, you resize the window, change the layout of the fields in the SDV, and attach an editor SmartDataField to the Comments field.
Follow these steps to change the layout of the fields:
NOTE: The frame automatically resizes to fit the new dimensions of the window.- Drag the bottom-right corner of the SDV down to the right to proportionally resize the viewer to about twice the width and height of the original window.
When you finish resizing the design window, it should look like the following figure:
![]()
You can adjust the size of the window more precisely later, if you need to.
- Drag the fields into the positions shown below. Leave space around the edges of the design window and between the columns of fields for text labels:
NOTE: The CustNum, CreditLimit, Balance, Discount, Terms, and Country fields appear with initial or default values.
![]()
- Select the Text icon from the Object Palette and click to the left of the unlabeled Comments field to add a label for it.
- Double click on the text box to open the TEXT property sheet, type Comments: into the Text field, and then choose OK.
- Size the text box on the SDV window to display the full label.
- Select the SmartDataField icon
on the Object Palette to open the Choose SmartDataField dialog box.
- Select
stxtfld.w
from the selection list and choose OK.- Click inside the Comments field to place the SmartDataField into the Comments field. The window now looks similar to the one in the following figure:
![]()
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |