GUI.SetDefault | Part of GUI module |
Syntax | GUI.SetDefault (widgetID : int, default : boolean)
|
Description | Sets the "default status" of a button specified by widgetID.
If a button is the default button, then it is drawn with a heavy
outline and it is activated when the user presses ENTER. Only one button can be the default button per window. If a button is set to be the default button, then the previous default button has its "default status" removed.
|
Status | Exported qualified. This means that you can only call the procedures by calling GUI.SetDefault, not by calling SetDefault.
|
See also | GUI.CreateButton.
|