Vcl.ComCtrls.TToolBar.Customizable

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Customizable: Boolean read FCustomizable write SetCustomizable default False;

C++

__property bool Customizable = {read=FCustomizable, write=SetCustomizable, default=0};

Properties

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

Description

Specifies whether the user can customize the toolbar at runtime.

Set Customizable to true to allow the user to add, delete, and move toolbar buttons at runtime. There are two ways the user can change a customizable toolbar:

By holding the shift key, the user can drag a button to a new position on the tool bar, or drag it off the toolbar entirely to delete the button.

By double-clicking on the toolbar, the user can display the toolbar customize dialog. The toolbar customize dialog shows all the possible buttons in two list boxes, one that contains buttons not on the tool bar, and one that contains buttons currently on the tool bar. The user can use this dialog to add or remove buttons and to change their order.

Note: When Customizable is true, a number of events inform the tool bar component when the user makes changes.

See Also