User Tools

Site Tools


window_controls_and_input_focus.htm
Navigation:  Language Reference > 6 - Windows > Window Overview >====== Window Controls and Input Focus ====== Previous pageReturn to chapter overviewNext page

NewC7.jpg

The objects placed in an APPLICATION or WINDOW structure are “controls.” “Control” is a standard Windows term used to refer to any screen object–command buttons, text entry fields, radio buttons, list boxes, etc. In most DOS programs, the term “field” is usually used to refer to these objects. In this document, the terms “control” and “field” are generally interchangeable.

Controls appear only in MENUBARs, TOOLBARs, or WINDOW structures. Controls are available to the user to select and/or edit the data they contain only when it has “input focus.” This occurs when the user uses the TAB key, the mouse, or an accelerator key combination to highlight the control.

A WINDOW also has “input focus” when it is the top WINDOW in the currently active execution thread. Since Clarion for Windows allows multi-threaded programs, the concept of which WINDOW currently has focus is important. Only the thread whose uppermost WINDOW has focus is active. The user may edit data in the WINDOW's control fields only when it has focus.

window_controls_and_input_focus.htm.txt · Last modified: 2021/04/15 15:57 (external edit)