Show: Delphi C++
Display Preferences

Vcl.Controls.TWinControl.Focused

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Focused: Boolean; dynamic;

C++

DYNAMIC bool __fastcall Focused();

Properties

Type Visibility Source Unit Parent
function public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Determines whether the control has input focus.

Use the Focused method to see if the control is the active control. When Focused returns true, the control has the input focus. If Focused returns false, the user cannot interact with the control.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance