RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomActionControl.Selected Property

Indicates whether the control is currently selected.

Pascal
property Selected: Boolean;
C++
__property Boolean 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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!