Product Documentation
Virtuoso Studio Design Environment User Guide
Product Version IC23.1, November 2023

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.

The default is "hiDefault".

GUI Equivalent

None

Examples

envGetVal("ui" "formDefaultAction")
envSetVal("ui" "formDefaultAction" 'string "hiSubmit")

Related Topics

hiCreateLayoutForm


Return to top
 ⠀
X