Controls the horizontal alignment of the Caption, Input Text, Option Text, Row Text or Text properties.
Property Type: Static
Default Value: Left
Choose from:
Hierarchical Reference (Caption Horizontal Alignment): ControlName.CaptionHorizontalAlignment
Hierarchical Reference (Option Text Horizontal Alignment): ControlName.OptionTextHorizontalAlignment
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:
Caption or Option Text Horizontal Alignment Property Value (static) | Result | |
---|---|---|
Center | Places the caption in the center of the control | |
Left | Places the caption to the left of the control | |
Right | Places 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.