Hot-key input

GUI95

Widget index / Specialized controls · Download this HTML

Focus the field, then press Ctrl/Alt with a letter or function key. Escape cancels capture; Tab leaves. These shortcuts are recorded, not registered.

Ready — try the example.

States and behavior

Recorded chord, empty value, canceled capture and invalid chord.

Keyboard

Modified keys record a shortcut; Backspace or Delete clears it; Tab always leaves; Escape reverts to the value at focus entry.

Scope and adaptation

A browser capture field, not the Windows hot-key common control. Reserved OS/browser chords may never reach the page. A consuming app must validate conflicts and registration failures.

Sources

Microsoft preliminary guide (1995), chapters 7–8

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.