TdxBarManager.AddToolBar(Boolean,Boolean) Method
In This Article
Creates a new toolbar instance and adds it to the current bar manager.
#Declaration
#Parameters
Name | Type |
---|---|
AIs |
Boolean |
ANeed |
Boolean |
#Returns
Type |
---|
Tdx |
#Remarks
The AddToolBar method returns a reference to an instance of the newly created toolbar.
AIsMainMenu specifies whether a new toolbar will represent the main menu. Set AIsMainMenu to True to make the new toolbar a main menu.
ANeedEditCaption specifies whether the Add Toolbar dialog appears allowing an end-user to decide whether the new toolbar will be created and its caption entered. Set ANeedEditCaption to True to display the Add Toolbar dialog. Otherwise, a new toolbar will be created automatically with the default caption.
See Also