# OnObjectFocus Event

## Applies to

THtmlViewer, TFrameViewer, and TFrameBrowser components

Declarations

property OnObjectFocus: ThtObjectEvent;

## Description

The OnObjectFocus event occurs when an Object gains the focus. Currently, all Form controls support this event. The Form Control must have an OnFocus="string" attribute in its definition for this event to occur. See the ThtObjectEvent type for further information on the parameters.

See Also

OnObjectBlur Event

OnObjectChange Event

OnObjectClick Event