The Created Window Affects the Calling Window |
To let the created window affect the calling window:
Example Suppose the calling Bookings window opens the created Days window. For the Days window, define a user-defined property UDPBookings of type: Bookings.
<created window>( Self() ).Window.Create() This method call:
You can use the Object Activator to construct this method call. For a Travel Agency example that explains how to do this, see: Actions Example 11. Example In the Bookings and Days example, the corresponding method call is: Days( Self() ).Window.Create()
Example To set the background color of the Bookings window to red, insert a button in the Days window, and set the Action property to: UDPBookings.background( red ) |