The Top property sets the position of the control from the top of the user form.
Property Type: Static
Default Value: varies from 50 depending on the quantity of controls that have been created consecutively.
Ensure the property is a static property (It will display the gray orb alongside the property name).
The default value of the static property can be changed by:
|Top Property Value (static)||Result||Notes|
|55||Changes the top of the control to 55||The value is entered directly into the property.|
A rule can also be built for this property by changing the type to dynamic.
|Height Property Value (dynamic)||Result||Notes|
|IF(DWVariableNumberOfOptions=3, 60, 25)||Sets the top to be 60 if the variable is 3, otherwise the height is 25||The value can be set by making the property dynamic (see above), launching the rule builder and applying the function.|
|DWVariableNumberOfOptions*24||Sets the top to be the variable multiplied by 24||The value can be set by making the property dynamic (see above), launching the rule builder and applying the function.|
Value set in Form Designer. For DriveWorks projects static properties can be made Dynamic by double clicking the gray radio button.