-
Notifications
You must be signed in to change notification settings - Fork 1
gui_setdefault
Tristan Hume edited this page Apr 23, 2012
·
2 revisions
#GUI.SetDefault
##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_full.html.