Drop-down box properties

General

A drop-down box, also known as a list or a drop-down list, presents a list of options when a user clicks the arrow to the right of the field. Drop-down boxes restrict the information that a user can enter by presenting only certain options. A drop-down box must be bound to a component collection or an enumeration for options to be displayed in it.

Note: The behavior of drop-down boxes is also affected by the Enable Legacy Dropdown Initialization attribute on the RUNTIMEFLAGS node of the Hansen8 configuration.

See RUNTIMEFLAGS node.

PropertyDescription
ID (advanced)Identification code for the drop-down box. Infor Public Sector automatically generates an identification code for each control you add in the Page Editor. Although you can change these identification codes, we recommend that you use the default values.

Access

PropertyDescription
EditAccessID (advanced)Access ID for the permission that users must be granted to edit the information in the drop-down box.
ViewAccessID (advanced)Access ID for the permission that users must be granted to view the drop-down box

Appearance

PropertyDescription
LabelTextText of the drop-down box’s label.
LabelTipTooltip that is displayed when a user hovers over the drop-down box’s label.
Visible (advanced)The drop-down box will be hidden if you set the Visible property to False.
ShowInPortal (advanced) For detail pages, this property indicates whether the drop-down box will be included when the detail is displayed in Infor Rhythm for Civics.

Behavior

PropertyDescription
RequiredIndicates whether Infor Public Sector will require the user to enter information in the drop-down box.
AlwaysSendValue (advanced)Indicates whether the drop-down box will send values that are not included in the list. If the value is True, then users can type in their own values. If False, then users must select an item from the list.
DisabledCanEdit (advanced)Indicates whether users can make a disabled drop-down box editable by clicking the Edit button at the top of an InfoViewer. A control is disabled if its Enabled property is set to False, or if the page is opened through an InfoViewer.
Enabled (advanced)Indicates whether the drop-down box is enabled for user interaction when the user first opens the page it is displayed on.
FollowsAfter (advanced)ID of the control that this drop-down box follows in the page's tab order.
IsSorted (advanced)Indicates whether the items in the drop-down box are sorted alphabetically. If they aren’t sorted, Infor Public Sector will show the items in the order in which they’re listed.
MaxRows (advanced)Maximum number of rows that Infor Public Sector will show in the drop-down box before adding a scrollbar.
TabIndex (advanced)Index number representing the position of the drop-down box within the page’s tabbing order. The tabbing order is the order in which elements receive focus when a user presses the Tab key.

Layout

PropertyDescription
LabelOffsetAmount of space, in pixels, reserved for the drop-down box’s label.
WidthWidth of the drop-down box in pixels.
Left (advanced)Position of the left edge of the drop-down box, in pixels.
Top (advanced)Position of the top of the drop-down box, in pixels.

Rules

PropertyDescription
ValidationFormulaFormula that will be used to validate the data that is entered in the drop-down box.
OnRenderFormula Formula that is executed when the drop-down box is rendered on the page. For example, you can use a formula to show or hide the drop-down box by changing the value of the Visible property.
OnSelectRule (advanced)Method that will be executed when a user selects an item in the drop-down box.

See Rules.

OnValueChangedClientJavascript (advanced)Name of the JavaScript function that will be executed when a user changes the selection in the drop-down box.

Value

PropertyDescription
BindBusiness object property the drop-down box is bound to. You must bind a drop-down box to a component collection or an enumeration. When you bind it, Infor Public Sector automatically binds each item in the collection and shows them as items in the drop-down box. You can also click Items under Value to edit the items in the drop-down box and bind individual items as required.
DefaultValueDefault value that is displayed in the drop-down box.
ItemsLists the options that are displayed in the drop-down box. When you click the “Items” button, Infor Public Sector shows the Drop Down Item Collection dialog box, which you can use to define the available options.
Moniker (advanced)Moniker of the business object the drop-down box is bound to. The Moniker and Bind fields specify the popup Infor Public Sector will show for the drop-down box. Note that the moniker should specify the business object of the property the control is bound to.
ListBind (advanced)Collection the drop-down box is bound to. If you bind a drop-down box to a collection, Infor Public Sector will use the items in the collection to populate the list in the drop-down box.
ListBindEnum (advanced)Enumeration the drop-down box is bound to. If you bind a drop-down box to an enumeration, Infor Public Sector will use the items in the enumeration to populate the list in the drop-down box. To specify an enumeration, enter the name of the business object the page is bound to followed by the name of the enumeration.
ListBindDisplayTextProperty (advanced)Property of the collection the drop-down box is bound to that Infor Public Sector will use as the display text for each item that is displayed in the drop-down box.
ListBindValueProperty (advanced)Property of the collection the drop-down box is bound to that Infor Public Sector will use as the value for each item that is displayed in the drop-down box.