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:

ValueDescription
objectnameName of push-button to be set as a default button for a window.

Returns

Values returned by both Get_Property and Set_Property:

ValueDescription
defaultobjectName of push-button currently having the DEFAULT property.
ExistingpropName of push-button having the DEFAULT property, when Set_Property was run.

See also

CANCEL property

  • No labels