Rectangle and Line Object Properties


The General page of the Properties dialog has the following options:

The Style page has the following options:

The Print When page allows you to conditionally print an object so it can be ignored under some conditions. It has the following options:

The Dynamics page allows you to change the way the object appears in the report depending on certain conditions. For example, the following report shows a simple bar chart of sales values. Each bar is proportionally sized based on the sales amount:

Note that using dynamic settings significantly increases report generation time, so use it only when required.

The Conditions list shows the conditions you've defined. To add a new condition, click the Add button. Enter the name of the condition and click OK. The following dialog appears.

This dialog has the following options:

Click the Edit button to display the same dialog shown above to edit the condition settings or Remove to remove the condition. You can also change the order in which conditions are applied by clicking the button in front of the condition name in the list and dragging up or down.

The sample report shown above was created by drawing a red rectangle and creating a dynamic condition with Apply when this condition is true set to .T. (in other words, always apply) and Width Expression set to SalesAmount * 2/3 (the 2/3 ensures the bar isn't too wide given the range of values for the report).

The Other page displays a comment about the object. To change the comment, click the Edit comment button.

The Rotation page allows you to rotate an object on the report by specifying the rotation angle as a clockwise value (for example, an angle of 90 rotates the object 90 degrees clockwise). A representation of the rotation is shown so you can tell whether you have the desired angle. Note the object doesn't appear rotated in the Advanced Report Designer, but only when the report is run. Also note that using rotation significantly increases report generation time, so use it only when required.