Tree view

GUI95

Widget index / Navigation and data · Download this HTML

  • −Documents
    • Readme.txt

Ready — try the example.

States and behavior

Expanded/collapsed branches, visible focus and single selection; children retain their state when a parent closes.

Keyboard

Up/Down visits visible rows; Right expands or enters a branch; Left collapses or reaches its parent; plus expands, minus collapses, asterisk expands everything below, Backspace goes to the parent; Home/End and type-ahead navigate, and the same letter again goes to the next match; Enter opens. A click on a label selects it; a click on its plus or minus box, or a double-click on the label, opens or closes the branch.

Scope and adaptation

This tree chooses selection-follows-focus. Multiselect trees and drag-and-drop are separate interaction models, not implied by this sample.

Sources

Microsoft preliminary guide (1995), chapters 7–8 · Modern browser accessibility pattern

Original implementation; the page uses the shared GUI95 stylesheet with its 11px Tahoma stack. The 1995 source is preliminary, not a final product specification. Test the target browser and native host before shipping.