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 action

Attaching action logic to the various components is a similar process. Right click on the desired component and select "Actions" from the sub-menu.

In the case of the Drop Down List, the "Create" action will be to provide an initial set of selectable values. Also, logic will be defined to ensure that when a user "jumps around" through the window, a check is made if the value in the text box has changed since the previous invocation. If it has, the list values that are "selectable" in this list will be re-built.

First the Create action logic:

(Click here to cut and paste this code.)

Then the action logic for when the user (re)accesses this field, this time the editor accessible through the "Editor" button will be used

(Click here to cut and paste this code.)

After editing in this window, the code needs to be saved several times, first in the editor window, then in the "Actions" window.

Go on to the next page in this sequence.