MSM-Workstation
Macros

Go back to the alphabetic list of macros
Go back to the first page of this tutorial

%%Reset ( ObjectProperty )

Reset the value of a property of a window or control.

ObjectProperty The property of the window or control whose selections are to be reset. If the object is missing, default to the current object. If the property is missing, default is based on the type of object. See Default Properties.

The macro %%Reset causes deletion of the property of the indicated object, effectively setting it equal to its default value.

Examples

%%Reset(Color)
Set the color of the current window to the default (inherited) color.

%%Reset
Clear the value of the current control.

See also

%%Get, %%GetChoice, %%GetSel, %%Prop, %%ResetChoice, %%ResetSel/a>, %%Set, %%SetChoice and %%SetSel.