CommandButton
The CommandButton DSP widget represents a field as a button. The user can click the button to initiate an action.
CommandButton in Chrome
Logical Widget Name: | CommandButton |
Maps to Physical Widget : | htmlinput of type button |
Default definition: | htmlinput(html:type=button;clientsyntaxcheck=false)[syntax=ned]
|
Supported triggers and properties: |
See htmlinput. |
Use for: | String fields that enable the user to perform an action other than entering data in a field. |
Description
The CommandButton comes in two versions:
- CommandButton—field value cannot be modified
at runtime. The field syntax is set to
NED
(non-editable) in usys.ini. - CommandButton_updatable—field value can be changed at runtime using the Uniface JavaScript API (setValue()).
The Detail trigger determines the action that is executed when the button is clicked.
Widget Property Restrictions
The following restrictions apply:
- For the Text Alignment
(
style:text-decoration
) property, the valueblink
is not supported.