The caption or text property is the text to display, on the user form, alongside or on the control.
Property Type: Static
Default Value: Takes the name given to the control when it was added
Hierarchical Reference (Caption): ControlName.Caption
Hierarchical Reference (Text): ControlName.Text
Ensure the property is a static property (It will display the gray orb alongside the property name)
The default value of the static Caption property can be changed by typing the required caption directly into the caption property field
Caption Property Value (static) | Result |
---|---|
Please Enter The Length | Displays the caption Please Enter The Length alongside 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 Property Value (Dynamic) | Result |
---|---|
IF(LengthReturn<25, "Please Enter A Length Over 25", "Please Enter The Length") | Displays the caption Please Enter A Length Over 25, when the control Length is less than 25. Displays the caption Please Enter The Length when the control Length is not less than 25. |
Value set in Form Designer. Static properties can be made Dynamic by double clicking the gray radio button.