DriveWorks Pro 15: Caption or Option Text Horizontal Alignment [send feedback...]

Caption or Option Text Horizontal Alignment

Controls the horizontal alignment of the caption or option text.

Property Type: Static

Default Value: Left

Choose from:

  • Left
  • Right
  • Center

Hierarchical Reference (Caption Horizontal Alignment): ControlName.CaptionHorizontalAlignment

Hierarchical Reference (Option Text Horizontal Alignment): ControlName.OptionTextHorizontalAlignment

To Change the Value

Ensure the property is a static property (the gray orb  will be displayed alongside the property name)

The default value of the static property can be changed by using the drop down:

  1. Click in the property for the control to be changed
  2. Click the drop down list at the end of the property value field
  3. Select the required alignment for the text on the control

Examples

Caption or Option Text Horizontal Alignment Property Value (static)Result
CenterPlaces the caption in the center of the control
LeftPlaces the caption to the left of the control
RightPlaces the caption to the right of the control

A rule can also be built for this property by changing the type to dynamic.

See How To: Change A Static Property To A Dynamic Property.

Caption Horizontal Alignment Property Value (dynamic)Result
If(DWVariblePictureType="OnLeft.png","Right","Left")Changes the Caption Horizontal Alignment property to be Right when the variable PictureType is OnLeft.png, otherwise the rule will result in Left.

Value set in Form Designer. Static properties can be made Dynamic by double clicking the gray radio button.

Table of Contents