Home Search

DriveWorks Solo 21
Caption Horizontal Alignment

Send Feedback

Caption Horizontal Alignment

Property Type: Static

Default Value: Left

Controls the horizontal alignment of the caption.

Choose from:

  • Left
  • Right
  • Center

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 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. For DriveWorks projects static properties can be made Dynamic by double clicking the gray radio button.