RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolBar.Customizable Property

Specifies whether the user can customize the toolbar at runtime.

Pascal
property Customizable: Boolean;
C++
__property Boolean Customizable;

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.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!