RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
CategoryButtons.TButtonDrawState Type

Values indicating the drawing state of buttons.

Pascal
TButtonDrawState = set of (bdsSelected, bdsHot, bdsFocused, bdsDown, bdsDragged, bdsInsertLeft, bdsInsertTop, bdsInsertRight, bdsInsertBottom);
C++
(bdsSelected, bdsHot, bdsFocused, bdsDown, bdsDragged, bdsInsertLeft, bdsInsertTop, bdsInsertRight, bdsInsertBottom) TButtonDrawState;

You can use the following parameters to set the drawing state of the buttons:

Parameter 
Description 
bdsSelected  
Item is selected and in the down state.  
bdsHot  
Item has the mouse over it  
bdsFocused  
Item should show focus.  
bdsDown  
Item is being pressed by the user.  
bdsDragged  
The drag image for that button is being drawn.  
bdsInsertLeft  
Shows that an item can be inserted to the left of this item.  
bdsInsertTop  
Shows that an item can be inserted above this item.  
bdsInsertRight  
Shows that an item can be inserted to the right of this item.  
bdsInsertBottom  
Show that an item can be inserted below this item.  

 

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