formDefaultAction
ui formDefaultAction string "value"
Description
Specifies the buttonText of a button to link to the Enter Key.
When this variable is set, the g_buttonLayout argument of hiCreateLayoutForm is searched for the button whose text equals the value of the variable. The first result found becomes the default button.
If the specified value is not found in g_buttonLayout, then Enter performs the same action as the first button of the form button list.
GUI Equivalent
Examples
envGetVal("ui" "formDefaultAction")
envSetVal("ui" "formDefaultAction" 'string "hiSubmit")
Related Topics
Return to top