Applies to
Window
Description
Returns or sets the DEFAULT property to one (and only one) button in a window. The effect is that when the user presses enter, the window takes whatever action has been assigned to that button. Typically, this is used to close a window, invoking whatever processing that should involve.
Usage
defaultobject = Get_Property (objectname, "DEFAULT")
existingprop = Set_Property (windowname, "DEFAULT", objectname)
Remarks
Values passed in Set_Property:
Value | Description |
---|---|
objectname | Name of push-button to be set as a default button for a window. |
Returns
Values returned by both Get_Property and Set_Property:
Value | Description |
---|---|
defaultobject | Name of push-button currently having the DEFAULT property. |
Existingprop | Name of push-button having the DEFAULT property, when Set_Property was run. |