## The `Focus' method

Argument: None
Result: None

Valid for: Window object (Window, Form, Document, Dialog) and controls which can receive the input focus. Under Windows, these are the Check, Radio, Button, Progress, Trackbar, Spinner, Scroll, List, Combo, Edit, RichEdit, Movie, OLEContainer, Splitter, Selector, Page, Tree, and Frame controls. Under MacOS, these are the List, Edit, RichEdit and Tree controls.

The `Focus` method sets the input focus to an object under program control. In the case of a top-level object, this means activating the window. In the case of a control such as an Edit object, this means the input cursor will be placed in the control (provided the window on which the control is placed is itself activated).

Topic: APLX Help : System Classes : Methods : Focus

[ Previous | Next | Contents | Index ]