MSM-Workstation
Create the First Set of Windows

Go back to the previous page in this sequence
Go back to the start of this chapter
Go back to the first page of this tutorial

More fine-tuning

At this point, another peculiarity will have shown itself: all instances of the second window appeared initially in exactly the same location, and with exactly the same size. Quite likely, the tester may have thought that any subsequent selection did not at all produce a new window, but merely updated the first instance of the second window.

The reason for this is that MSM-Workstation remembers what a window "looked like" when the previous instance of the application was closed. And, in order to make an attempt to follow the end-user's preferences, the window will be presented with exactly those display parameters at the next time it is created. Of course, it is possible to override these settings. This is done by adding a parameter to the invocation of the macro %%OpenWin.

(Click here to cut and paste this code.)

Note: there are two successive commas in this instance of the macro-call.

This addition will present the various selections as a staggered series of windows.

This staggered display shows the same window-title for all instances of the window, which makes it hard for the end-user to find out which instance of the window contains the information for which person. A simple addition to the "create action logic" of the second window can cure this:

(Click here to cut and paste this code.)

Which leads to a display where every instance of the second window has its own title

Go on to the next page in this sequence.