Vcl.ComCtrls.TToolButton.EnableDropdown

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property EnableDropdown: Boolean read FEnableDropdown write SetEnableDropdown default False;

C++

__property bool EnableDropdown = {read=FEnableDropdown, write=SetEnableDropdown, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TToolButton

Description

Controls whether the drop-down menu assigned to this button is enabled.

Use EnableDropdown to check whether the drop-down menu assigned to this button is available for the user. To disable a drop-down menu, set EnableDropdown to False. To enable a drop-down menu, set EnableDropdown to True.

The default value for EnableDropdown is False.

Note: This is available for Windows Vista, Windows 7, or later Windows operating systems only.

See Also