Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== DEFAULT property ====== ==== 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.| ==== See Also ==== [[cancel|CANCEL property]] guides/programming/programmers_reference_manual/default.txt Last modified: 2024/06/19 20:20by 127.0.0.1