The Window Context Dialog

The Test Mode - Window Context dialog is displayed by clicking on the Window Context push button in the Test Mode - Event Vector dialog. This dialog presents the information contained in the Zim window context vector ThisWindow which describes the status of the window which either triggered the event, or in which the event occurred. The dialog consists of two sections: Event and Window.

Event Section

This section presents information relating the identification of the event and is identical to that presented in the Event section of the Test Mode - Event Vector dialog.

Event

Description

Name

This field contains the name of the event, and contain values such as "Click", "DoubleClick", "Modified", "LostFocus" etc. See callback events for more detailed information about event names.

Type

This field contains the type of event which also identifies the type of object which triggered the event such as a "Window", "FormField" etc. See callback events for more detailed information about event types.

Tag

This field contains the tag associated with the object which triggered the event. Each object type can have an associated tag in the form of a character string. If an object's tag is blank, the object's name is displayed in this field.

Window Section

This section presents information relating to the status of the window which either triggered the event,or in which the event occurred.

Window Section

Description

Name

This field contains the name of the window.

Tag

This field contains the tag associated with the window. If the window tag is blank, the window name is displayed.

Number

This field contains the identifying number associated with the window.

State

This field indicates if the window is in the minimized (-1), normal (0) or maximized (1) state.

Row

This field contains the row in character coordinates of the top left corner of the window.

Column

This field contains the column in character coordinates of the top left corner of the window.

Width

This field contains the width of the window in character coordinates.

Height

This field contains the height of the window in character coordinates.

 

Dialog Push Buttons

Button

Description

Close

This push button returns to the Test Mode - Event Vector dialog.