RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TCustomDrawState Type

TCustomDrawState specifies a custom drawing state.

Pascal
TCustomDrawState = set of (cdsSelected, cdsGrayed, cdsDisabled, cdsChecked, cdsFocused, cdsDefault, cdsHot, cdsMarked, cdsIndeterminate);
C++
(cdsSelected, cdsGrayed, cdsDisabled, cdsChecked, cdsFocused, cdsDefault, cdsHot, cdsMarked, cdsIndeterminate) TCustomDrawState;

TCustomDrawState indicates state information that can affect how a control is drawn. It includes a set drawn from the following values:

Value 
Meaning 
cdsSelected  
The control or item is selected.  
cdsGrayed  
The control or item should appear grayed.  
cdsDisabled  
The control or item is disabled.  
cdsChecked  
The item should appear checked.  
cdsFocused  
The control or item has input focus.  
cdsDefault  
The item is the default item.  
cdsHot  
The item is under the mouse and the HotTrack property is True.  
cdsMarked  
The item is marked (marked items appear shaded by default).  
cdsIndeterminate  
The item is neither selected nor unselected.  

 

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