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.
| Property | Description |
|---|---|
| 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
| Property | Description |
|---|---|
| ViewAccessId (advanced) | Identification code for the Access Control permission that users must be granted to view the button. |
Appearance
| Property | Description |
|---|---|
| ButtonCssClass | Class name that defines the image that is displayed on the button. |
| ButtonText | Text that is displayed on the button. |
| TooltipText | Tooltip that will be displayed when a user hovers over the button. |
| GroupName (advanced) | Group that the button belongs to. |
Behavior
| Property | Description |
|---|---|
| ValidatesPageControls | Indicates whether Infor Public Sector will validate the data entered on the page when a user clicks the button. |
| PredefinedType | Type 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. |
| 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
| Property | Description |
|---|---|
| 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
| Property | Description |
|---|---|
| ValidationFormula | See 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
| Property | Description |
|---|---|
| Context Menu | Lists the options that will be displayed in the popup menu when a user clicks on the button. For example, an button typically shows a list of actions that users can perform on selected records. When you click the button, Infor Public Sector shows the Context Menu Collection dialog box, which you can use to define the available options. |