Vcl.Forms.TCustomForm.Active

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Active: Boolean read FActive;

C++

__property bool Active = {read=FActive, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomForm

Description

Specifies whether the form has focus.

Use Active to determine whether the form has focus. The Active Form receives all keyboard input. If it has a title bar, it is drawn using the active colors specified in the Control panel.

If Active is true , the form has focus; if Active is false, the form does not have focus.

See Also