This scenario is part of
Example 11: Window with Separate Search Dialog.
To get a Reservations window
that the user can query via the Find Existing Reservations
||Create a new subclass of the Reservations info box class,
rename it to "ReservationsFindExisting".
||Insert a new button and change the button prompt to "Find
Existing ... ".
||Open the Object Activator for the Action property of the
||From the Windows Designer catalog, drag the
"FindExistingReservations" dialog class into the Script box. This
results in the following method call being created:
||In the Script box, select the parameter subnode of this
||In the Object Browser pane, select the ReservationsFindExisting
class itself (the top-level or root object in the tree).
||Click the Set button. This results in:
USoft replaces root-level
objects by the keyword Self. The advantage of this is that the
script remains legal even if the window class is renamed or
embedded, or if subclass is made of it.
||Click OK to close the Object Activator, and save your