Skip to content

Button View

A button view supports displaying a button on a screen.

PropertyDescription
textSets the text to display on the button
textStyleSets the standard (non-focus) text style. See Text Styles in MCI
focusTextStyleSets focus text style. See Text Styles in MCI
widthSets the width of a view to display one or more columns horizontally (default 15)
focusIf set to true, establishes initial focus
submitIf set to true any accept action upon this view will submit the encompassing form
argNameSets the argument name for this selection in the form
justifySets the justification of each item in the list. Options: left (default), right, center
fillCharSpecifies a character to fill extra space longer than the text length. Defaults to an empty space
textOverflowIf the button text cannot be displayed due to width, set overflow characters. See Text Overflow below

The textOverflow option is used to specify what happens when a text string is too long to fit in the width defined.

Example

Configuration fragment (expand to view)
BT1: {
submit: true
justify: center
argName: btnSelect
width: 17
focusTextStyle: upper
text: Centered button
}