View stacked windows

Complete this demonstration to see how the Genero Browser Client (GBC) allows you to switch between windows in an application that has stacked windows.

Imagine an application's window stack is composed of several windows: W1, W2, ..., Wn. By default, the GBC displays the current window, which is the window at the top of the stack. You can access the other windows with the window list.

About this demonstration

This demonstration allows you to use the Demos application to explore working with stacked windows in the GBC.

Before you begin

Start the standalone dispatcher from the command line using httpdispatch.

Tip:

Launch the Genero Workplace Window to ensure an environment suitable for Genero commands.

For example, open the demos application by entering the URL for your GAS in a browser:
GAS 5.00 and greater
http://localhost:6394/ua/r/demo
GAS prior to 5.00
http://localhost:6394/ua/r/gwc-demo

Steps

  1. In the Topic tree of the demo directory, navigate to User Interface > UI Basics > Windows. Doubleclick on the demo CurrentWindow1 in the right-hand panel.

    The window at the top of the stack (Window w3) is displayed.

    Click on the window list to see the windows in the stack:
    • Window w3
    • Window w2
    • Window w1
    • screen
    Figure: Stacked windows demo


  2. To set a window as current and bring it to the top of the stack, click on one of the Test menu buttons (w1, w2, w3, or screen).
  3. In the window list, select one of the other windows.

    If the selected window is not the current window, the window list has an arrow. Click this arrow to return to the current window.