Progress
AppBuilder
Developer’s Guide


Configuring Rectangle Properties

Rectangles are basic objects, defined in the 4GL itself. Not being objects defined by external procedures, they do not have Procedure Settings. Their properties are all contained in property sheets.

To open the property sheet for a Rectangle, select the Rectangle and choose Tools property sheet. The dialog box shown in Figure 3–7 will open.

Figure 3–7: Rectangle Property Sheet

Minimal Configuration Changes

You should change the default identifier, shown in the Object field, to a token that more accurately identifies the role of this Rectangle in your design.

Border Width (Edge Pixels)

Rectangles can be very useful as a way to visually define a special area, for example one whose appearance will change because of paging. You might wish to make such an area even more visually special by changing the thickness of the border. This Rectangle shows a distinctive, eight-pixel border:

To change the thickness of the border, enter the new value in the Edge Pixels field. The results of specifying too thick a border are undefined.

A value of zero (0) will cause the Rectangle border to disappear, effectively making the Rectangle itself disappear unless it has a fill of a contrasting color.

Geometry

Normally, the location of a widget is calculated at its upper-left corner. You can set the location of a Rectangle to be its upper-right corner instead, if you wish, by setting the appropriate radio button.

Additionally, by setting the width or height of a Rectangle to zero (0) pixels in the Advanced Properties dialog box, you can create the illusion of a line.

Miscellaneous Properties (Other Settings)

Rectangles are such simple objects that they have very few properties. You can make changes to those few, if the default settings do not meet your needs:

Advanced Properties

You can make several changes to a Rectangle’s behavior or appearance in the Advanced Properties dialog. To open the dialog box, shown in Figure 3–8, choose the Advanced button.

Figure 3–8: Rectangle Advanced Properties Dialog Box

Four properties you may wish to modify are:


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