DEFAULT property

Window

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.

defaultobject = Get_Property(objectname, "DEFAULT")

existingprop = Set_Property(windowname, "DEFAULT", objectname)

Values passed in Set_Property:

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

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.
  • guides/programming/programmers_reference_manual/default.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1