Vcl.StdCtrls.TCustomButton.TButtonStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TButtonStyle = (bsPushButton, bsCommandLink, bsSplitButton);

C++

enum DECLSPEC_DENUM TButtonStyle : unsigned char { bsPushButton, bsCommandLink, bsSplitButton };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomButton

Description

Style of TButton.

TButtonStyle indicates a style specific to TButton, which is the value of its Style property. The possible values of TButtonStyle are listed in the following table:

Value Meaning

bsPushButton

The button is a standard push button.

bsCommandLink

Command Link style button. Display the text in CommandLinkHint as a hint below the button caption. Available for Windows Vista and newer operating systems only.

bsSplitButton

Make the button a Vista-style split button, which has a drop-down menu. Available for Windows Vista and newer operating systems only.


See Also