RAD Studio VCL Reference
TSpeedButton.Down Property

Specifies whether the button is selected (down) or unselected (up).

property Down: Boolean;
__property Boolean Down;

Read Down to determine whether a speed button is selected. The Down property only applies if the GroupIndex property of the button is nonzero. 

When GroupIndex is greater than 0, set Down to true to select a button. When the user clicks on a button in the unselected (up) state, the button is selected and Down is set to true. When the user clicks on a button in the selected (down) state, if Caption is true, the button becomes unselected and Down is set to false. 

At design time, specify which button in a group is the initially selected button by setting the Down property of the selected button to true.

Note: When GroupIndex is 0, buttons do not remain in the selected state when clicked.


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