Button properties

General

A button performs a specific task when a user clicks it, such as saving information or closing a form. Infor Public Sector provides a variety of standard buttons and a blank button that you can personalize.

PropertyDescription
ID (advanced)Identification code for the button. 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
ViewAccessId (advanced)Identification code for the Access Control permission that users must be granted to view the button.

Appearance

PropertyDescription
ButtonCssClassClass name that defines the image that is displayed on the button.
ButtonTextText that is displayed on the button.
TooltipTextTooltip that will be displayed when a user hovers over the button.
GroupName (advanced)Group that the button belongs to.

Behavior

PropertyDescription
ValidatesPageControls Indicates whether Infor Public Sector will validate the data entered on the page when a user clicks the button.
PredefinedTypeType of button you want to add to the page. You can select from a list of predefined types, each with a set image and default rules for the button, or you can select NotAPredefinedType to define your own rules.

See Predefined button types.

Enabled (advanced)Indicates whether the button is enabled for user interaction.
FollowsAfter (advanced)ID of the control that the button follows in the page's tab order.

Layout

PropertyDescription
Left (advanced)Position of the left edge of the button, in pixels.
Top (advanced)Position of the top of the button, in pixels.
Note: When you add a button to a toolbar, you must set the value of this property to 0. Otherwise the button will not be displayed correctly in the toolbar.

Rules

PropertyDescription
ValidationFormulaSee Validation.
ClickRuleId (advanced)Method that will be executed when a user clicks on the button.

See Rules.

JavaScriptRule (advanced)JavaScript that will be executed when a user clicks on the button.
ServerRuleParameter (advanced)Parameter to be sent to the server when the rule defined for the button is executed.

Value

PropertyDescription
Context Menu Lists the options that will be displayed in the popup menu when a user clicks on the button. For example, an Action button typically shows a list of actions that users can perform on selected records. When you click the “Context Menu” button, Infor Public Sector shows the Context Menu Collection dialog box, which you can use to define the available options.