GUI ScreenIO for Windows

 ScreenIO.com


Treeview Control Properties

Treeview properties are collected on several property sheets and popups.  You can jump directly to the page of interest using the links below.

The items are arranged in alphabetical order by page.

General

Return to top of page

Item Significance
COBOL field name COBOL name of your control.  All of the fields in the panel copybook for this control will be prefaced with this name.
Presentation:

Has (+/-) button

Displays a (+/-) button that expand and contract branches of the tree.
Presentation:

Has a border

Draws a dark line around the control.
Presentation:

Sunken appearance

Has a border that makes the control appear sunken.
Presentation:

Tree has lines

Displays the treeview with lines.
Presentation:

Tree has lines at root level

Displays the treeview with lines at the root level.

Treeview elements

Return to top of page

The invisible key is special; it will contain data which is not displayed, but which is associated with each treeview record.  Double-click its entry to define the field properties of the invisible key column.

To define the properties of the data that will be displayed in the treeview, press the Field properties button. 

Item Significance
Event IDs:

Assign event IDs automatically

Default; the panel editor will assign the numeric event-IDs to treeview events.  Unless you have very good reasons to manually assign these values, you should let the panel editor assign event-IDs to avoid conflicts with other events assigned to the panel. 

The number assigned to the event ID is not significant because you should always use the 88-level items to evaluate events.

Event IDs:

treeview-1CLICK event

Event ID assigned to the treeview-1CLICK event.
Event IDs:

treeview-2CLICK event

Event ID assigned to the treeview-2CLICK event.
Event IDs:

treeview-TOPBOT event

Event ID assigned to the treeview-TOPBOT event.
Number of elements in treeview Specifies the maximum number of elements your treeview may contain.

Treeview behavior

Return to top of page

Item Significance
? Displays a popup that collects text that is displayed in a ToolTip when the user places the mouse cursor over the control and pauses briefly.
Return to program when:

Each time selection changes

Causes GUI ScreenIO to return an event when the user selects a different item.  See hot fields.
Return to program when:

Entering field

Causes GUI ScreenIO to return an event when the user activates this control.  See hot fields.
Return to program when:

Leaving (always)

Causes GUI ScreenIO to return an event when the user activates a different control on the panel.  See hot fields.
Return to program when:

Leaving (if selection changed)

Causes GUI ScreenIO to return an event when the user activates a different control on the panel, but only if a different item was selected.  See hot fields.
Runtime behavior:

Item text can be edited in-place

Allows the user to slow-click the item to change its content.
Runtime behavior:

Output only

You may not enter data in the control, but you may position the caret to the control and use Windows editing commands (click the right mouse button) to copy text displayed in the control.
Runtime behavior:

Selection persists when control loses focus

The selected item in a listview remains visible even though another control has the keyboard focus.
Runtime behavior:

Tab stops here

Makes it possible to use the Tab key to navigate to this control.

Related topics:


© 2000-2019 Norcom, all rights reserved 

TOC

Send feedback to Norcom