You can add rectangular shapes to a report or label.

 

rectangle_filled

 

To add a Rectangle, click InsertShape - Rectangle, click and hold the left mouse button at the location on the report or label where you want the Rectangle to begin, then drag the Rectangle to the desired size. Press CTRL while adding the Rectangle to create a square. Press SHIFT while adding the Rectangle to center the Rectangle on the point you first clicked. The following Rectangle properties can be configured:

 

Name

A unique, assigned name, consisting of the word “Rectangle” plus the first available number (for example, Rectangle 1, Rectangle 2, and so on), by default. You can also give your own, unique name to the component for ease of reference when using event methods.

 

X

The exact horizontal co-ordinate for the top left corner of the Rectangle.

 

Y

The exact vertical co-ordinate for the top left corner of the Rectangle.

 

Width and Height

The width and height of the Rectangle.

 

Line Thickness

The thickness of the Rectangle’s border.

 

Line Color

The border color for the Rectangle. Click the icon_browse_button button to go to the Color Chooser and select a custom color.

 

Fill Style

The fill setting for the Rectangle (Opaque or Transparent).

 

Fill Color

The fill color for the Rectangle. To show the fill color, ensure Fill Style is set to Opaque. Click the icon_browse_button button to go to the Color Chooser and select a custom color.

 

Can Grow

If you set this field to Yes the component will be automatically resized if its value is larger than its bounding box. Other components will be shifted to accommodate the size increase. If you set this field to No the component’s value may appear truncated in the bounding box.

 

Can Shrink

If you set this field to Yes the component will be automatically resized if its value is smaller than its bounding box. Other components will be shifted to occupy any created space. If you set this field to No the component’s bounding box may include empty space.

 

Propagate Change

The controls the behaviour of the Can Grow and Can Shrink properties and how this component propagates changes caused by another component.  When set To the right and below a change in the size/position of this component will affect the position of components to the right and below this component.   When set To the right only a change in the size/position of this component will only affect the position of components to the right and will not affect components below this component.  When set Below only a change in the size/position of this component will only affect the position of components below this component and will not affect components to the right of this component. When set No a change in the size/position of this component will not affect any other component.

 

Visible

If you set this field to No the Rectangle will be hidden.

 

Locked

If you set this field to Locked you will not be able to move the Rectangle by dragging.