Vcl.ActnMan.TCustomActionControl.Selected

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Selected: Boolean read FSelected write SetSelected;

C++

__property bool Selected = {read=FSelected, write=SetSelected, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ActnMan.pas
Vcl.ActnMan.hpp
Vcl.ActnMan TCustomActionControl

Description

Indicates whether the control is currently selected.

If a control is selected (by mouse click, keyboard or other action) Selected is true; otherwise it is false. One example of a situation where Selected is useful is when the control is to be redrawn, because generally the control should be drawn differently if it is selected.