Drop-Down

Displays as a combo-box with a predefined list of selectable values.

Options

The Object Configuration Wizard Options tab shows the specific properties for the control.

ActivityControls_Objects_DropDown_ObjectConfigurationWizard_OptionsTabv6.5

Value Default value or Expression for current control.
AutoPostBack Automatically posts a request back to the server.

Default: False

Enabled Enable this object.
Visible Determines whether this control is visible.
Width Width of this object.

Default: 150

Items Items in the drop-down.
Style CSS style of this object.
CSS Class CSS class of this object.

Common Uses

The values for a drop-down are static and is a good control to use to display information that is not going to change frequently.

How to use

Prerequisites

  • A Process Group, Process, and Activity already created.

For more information, see Process Model.

Configure the Object

This procedure describes how to configure the Object.

ActivityControls_Objects_DropDown_ObjectConfigurationWizard_GeneralTab_ConfigureActivityLayoutv6.5

  1. Double-click the Activity. The Layout tab is displayed.
  2. Drag an Activity Control Object from the Activity Designer to the Layout tab. The Object Configuration Wizard is displayed.
  3. Click in the Name text field and select the name Object and type your Object name. For example, DR1050DropDown.
    Note the Name text field cannot contain any spaces. For example, DR1050DropDown..
  4. Click in the Caption text field and replace the text with the object name which you want displayed. For example, DropDown.
  5. Click the Options tab and configure using the previously defined fields.
  6. Click OK.
  7. On the ribbon, click the File tab, click Save or press CTRL+S to save your changes.

Examples

ActivityControls_Objects_DropDown_Example1v6.5

ActivityControls_Objects_DropDown_Example2v6.5

Considerations

  • The drop-down should only be used for selections that are not going to change frequently.
  • If the data for a drop-down is going to change frequently then a better control to use would be the Lookup control.

 

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X