MSM-Workstation
Macros

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

%%Settings

When a window is invoked, special settings may be specified for the instance of the window that is about to be processed.

This macro is replaced by the name of the local array through which these settings are available to the "action logic" code within the window.

The macros that are used to invoke a window and specify the actual parameters are %%DoWin and %%OpenWin.

Examples

%%DoWin(Edit,.P,"Parent=%%CurrWin| Color=%%Cyan|PosTop=5|PosLeft=20")
Invoke the window called "Edit", send and return parameters in the array P(), use indicated settings for the window properties.

%%DoWin(@EDIT,.P,.PROP)
Invoke the window identified by variable EDIT, use the array P() for parameters, get settings out of the array PROP().

See also

%%Do and %%DoWin and %%OpenWin.