To pass a text-like (string)
value to another window:
||First define a property in the other window. For the type of
this property, specify String (the default). For the Argument
Position, specify 1 (the default) if no other user-defined
properties exist or are needed. Save your work.
||Open the window that you want to pass the value to. Find the
window class in the catalog .
||Open the Object Activator for the context from where you want
to pass the value. This could be the Action property of a button in
the first window.
||In the catalog, place the cursor on the window you want to pass
the value to. Drag-and-drop the window class from the catalog to
the Script box in the Object Activator.
The Object Activator now
generates a method call of this type for you:
<window name> ( ?
where the question mark is a
placeholder for the value to be passed to the property you just
||In the Object Activator, place the cursor on the subnode for
the new method call in the Script box. This subnode corresponds to
the question mark.
||Click Edit and type a hard-coded string in the subnode, or
compose an embedded method call. For example, if you want to pass
the value currently held in a non-database text box, select
Variables.Text_Box_1 in the object browser pane, and then click
Set. If you want to pass the value currently in the NAME database
column, select query.name in the Object Browser pane, and then