Home Search

DriveWorks Pro 22
Form Design - General Enhancements

Send Feedback

Form Design - General Enhancements

All Controls Available on the Command Bar

The full allocation of form controls are available directly from the command bar in Form Design.

When the screen width is reduced, command bar overflow will present a drop down for the remaining controls to be selected.


Column Width Property for Data Table Controls

All controls that present tabular data have a column width property. This will set all the columns in view to the value applied to the property.

This property applies to the following controls:

  • Data Table
  • Child Specification List
  • Data Grid
  • Item List

Property Type: Static

Default Value: Blank.

To Change the Default Value

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:

  1. Click in the property for the control to be changed
  2. Type the required value.

Examples

Column Width Property Value (static)ResultNotes
200Changes the width of the columns in the control to 200 unitsThe value is entered directly into the property.

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.

Column Width Property Value (dynamic)ResultNotes
IF(DWVariableColumnQty=3, 300, 200)Sets the column width to be 300 if the variable is 3, otherwise the width is 200The value can be set by making the property dynamic (see above), launching the rule builder and applying the function.


Text Over Picture Property for Button Controls

Button controls can have the value TextOverPicture applied to the Picture Style property.

This allows caption text to sit in front of an image placed on the control.

This value is available for the following controls:

  • Dialog Button
  • Macro Button
  • Upload Control


Input Background Color Property for Text Box

The color of the input area can be set for text box controls.

This property is available for the following controls:

  • Text Box
  • Numeric Text Box


Show Border Property for Text Box

The border displayed around the input area of text boxes can be hidden with the Show Border property.

The image below shows a text box with the Show Border property set to TRUE (top). And a Text Box with the Show Border property set to FALSE (bottom).

This property is available for the following controls:

  • Text Box
  • Numeric Text Box

New Child Specification List Properties

Three new properties have been added to the Child Specification List controls. These are:

  1. Name Column Visible - Controls whether the Name column is displayed in the control.
  2. State Column Visible - Controls whether the State column is displayed in the control.
  3. Hidden Result Columns - Hides the selected additional output columns.
Any columns that are set to be hidden in the UI will still be available in the Child Specification List table.

Hidden Result Columns

When selecting this property in the property grid, a drop down of the names of all output columns will be displayed.

This will not include the default columns, i.e. Name, State and Type. These can be hidden via the individual Column Visible properties.
Multiple columns can be selected from the drop down by holding the Ctrl key and clicking the column names.

New Item List Properties

Two new properties have been added to the Item List controls. These are:
  1. Name Column Visible - Controls whether Name column is displayed in the control.
  2. Hidden Item Values - Hides the selected item value columns.
Any columns that are set to be hidden in the UI will still be available in the Item List table.

Hidden Item Values

When selecting this property in the property grid, a drop down of the names of all item value columns will be displayed.

This will not include the default columns, i.e. Name and Type. These can be hidden via the individual Column Visible properties.


Value set in Form Designer. Static properties can be made Dynamic by double clicking the gray radio button.