Show: Delphi C++
Display Preferences

Vcl.Buttons.TSpeedButton.Down

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Down: Boolean read FDown write SetDown default False;

C++

__property bool Down = {read=FDown, write=SetDown, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Buttons.pas
Vcl.Buttons.hpp
Vcl.Buttons TSpeedButton

Description

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

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.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance