Home Search

DriveWorks Solo 22
Text Horizontal Alignment, Toggle Alignment

Send Feedback

Text Horizontal Alignment, Toggle Alignment

Property Type: Static

Default Value:

  • Left (Hyperlink control, Toggle Switch)

Controls the horizontal alignment of text in the control.

Choose from:

  • Center (not available for the Toggle Switch)
  • Left
  • Right

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


Text Horizontal Alignment Property Value (static)Result
CenterPlaces the text in the center of the control
LeftPlaces the text to the left of the control
RightPlaces the text 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.

Text Horizontal Alignment Property Value (dynamic)Result
If(DWVariblePictureType="OnLeft.png","Right","Left")Changes the Text 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.