Example 2: rotating controls

The following DataWindow object shows the column headers for Health Insurance, Life Insurance, and Day Care rotated 45 degrees.

The sample is a preview screen for emp _ total _ compensation. It includes three columns of check boxes titled Health Ins., Life Ins., and Day Care. The three titles are each rotated 45 degrees to the left.

To rotate each of these three text controls:

  1. Select one of the controls, then use Ctrl + click to select the other two controls.

    The Properties view changes to show the properties that are common to all selected controls.

  2. On the Font page in the Properties view, click the button next to the Escapement property.

  3. Enter the number 450 in the Modify Expression dialog box and click OK.

    The value entered for font escapement is in tenths of degrees, so the number 450 means 45 degrees. You do not have to specify a condition. Typically, you do not specify a condition for control rotation.

    The rotation of the controls does not change in the Design view.

  4. To see the change, close and reopen the Preview view.