Sign in Join
FPDoc Onlineexperiment

TWinControl.Focused function

Member of TWinControlpublicIn unit Controls

Checks whether the control has focus.

Declaration

pascal
function Focused: Boolean; virtual

Description

Focused is a Boolean function which indicates whether the control can be and is the currently focused control. The return value is True when the control can become focused during tab order navigation, has a valid Handle, and is the currently focused control in the widgetset class instance.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.