Windows Dynamics

GraphWorX64 uses a windows hierarchy to determine what you can do in the current or active window, how windows relate to one another, when windows require input before you can do something else in the program, or whether windows are independent entities. These behaviors affect program flow and actions, and are very valuable in creating and enforcing logic and behavior. For example, if you define a popup window to be modal, then that window has the focus of user action exclusively and does not allow interaction with other windows that are part of that display. You would use a modal window for an alert box or perhaps for a dialog box. If you define a popup window in a Load Display action that is independent of the current display, then a Close Window action applied to the parent window leaves the child window on the screen; whereas a popup window that is dependent on the parent window would be closed.

Window Types

The first place you might encounter window types is if you define a Pick Action that performs the Load Display command. The TargetType property shown in the figure below offers several different window types:

An Embedded Window

Embedded windows are constrained within the parent window.

The Load Display Command's TargetType Property

Different windows types are defined in the TargetType property.

Window Stack

As windows are opened in a GraphWorX64 display the program maintains a list of the last 50 windows names and order they were used in a buffer. Windows are ordered from first to last, with the selected window being the current window and the first window being the root window. As you click the GraphWorX64 Browse forward or Browse back buttons in the display you move through the order that you viewed the windows as maintained in the buffer. The display file history (forward/back commands) remembers the initial alias settings specified when a display is opened and will reset those aliases when you go back to that display in the file history.  Therefore, there are three different windows properties that you need to consider when you want to predict the result of a user action on the currently displayed windows:

See also:

Displays

Dynamics

Dynamics in the GraphWorX64 Interface