TdxBarManager Members
In This Article
#Constructors
Name | Description |
---|---|
Create |
Inherited from TComponent. |
#Properties
Name | Description |
---|---|
Allow |
Enables a user to activate items of the main application form when another application form is focused. |
Allow |
Specifies whether an end-user can restore a selected toolbar. |
Always |
Specifies when a merge mechanism for toolbars and menus of parent and child MDI windows is enabled. |
Always |
Determines whether the text that has been typed in an editor is saved when it loses focus. |
Auto |
Specifies whether toolbars within the same row are automatically aligned to each other, ensuring no gaps between them. |
Auto |
Specifies whether a dock control has the color of the parent form‘s background. |
Auto |
Specifies whether the current bar manager’s toolbars with invisible items are visible. |
Backgrounds | Specifies the background bitmaps used by the current bar manager’s toolbars and submenus. |
Bar |
Determines if the current bar manager has a focused toolbar control. |
Bars | Provides access to a collection of the current bar manager’s toolbars. |
Bars |
Specifies whether the toolbars of the current bar manager is being loaded. |
Bi |
|
Button |
Specifies the width of dropdown buttons which belong to the current bar manager’s buttons in pixels. |
Can |
Specifies whether the current bar manager’s toolbars can be customized at runtime. |
Categories | Provides access to the bar manager’s categories. |
Category |
Specifies whether the items of a particular category are visible. |
Category |
Specifies whether a particular category is visible. |
Com |
Inherited from TComponent. |
Component |
Inherited from TComponent. |
Component |
Inherited from TComponent. |
Components | Inherited from TComponent. |
Component |
Inherited from TComponent. |
Component |
Inherited from TComponent. |
Default |
Provides access to the default painter used to paint toolbar controls and dock controls on a graphic surface. |
Design |
Inherited from TComponent. |
Designing | Indicates whether the bar manager is in design mode. |
Disabled |
This property is obsolete, use the Image |
Disabled |
This property is obsolete, use the Image |
Dock |
Specifies the color of dock controls within the current bar manager. |
Dock |
Returns a count of the dock controls that belong to the current bar manager. |
Dock |
Returns a particular dock control in a bar manager’s collection of dock controls. |
Dragging protected | Indicates whether the current bar manager’s item is being dragged. |
Dragging |
Specifies the current bar manager’s item whose control is being dragged. |
Dragging |
Specifies the item link of the item control that is being dragged. |
Fake |
Inherited from Tcx |
Fake |
Inherited from Tcx |
Fake |
Inherited from Tcx |
Flat |
Specifies the border style of the Close button on the current bar manager’s main menu. |
Focused |
Specifies the focused toolbar control. |
Font | Specifies the font of the current bar manager’s items, toolbars, popup menus, hints and the Customization Form. |
Group |
Returns a count of the groups that belong to the current bar manager. |
Groups | Provides access to the item group collection. |
Help |
Specifies a bitmap which appears on the Help button in the Customization Form. |
Help |
Specifies the numeric ID of a context-sensitive help topic for the Help button. |
Hide |
Specifies whether floating toolbars are hidden when the form which contains the current bar manager is inactive. |
Hot |
This property is obsolete, use the Image |
Image |
This property is obsolete, use the Image |
Image |
Specifies bar item image options. |
Images |
This property is obsolete, use the Image |
Ini |
Specifies the name of the INI file in which the current bar manager’s settings are stored. |
Internal |
|
Is |
Indicates if the current bar manager is being customized. |
Is |
Inherited from Tcx |
Is |
Inherited from Tcx |
Is |
Inherited from Tcx |
Is |
Returns True when the currently active MDI child window is maximized. |
Item |
Returns the number of toolbar items in the bar manager collection. |
Items | Provides indexed access to toolbar items in the bar manager collection. |
Large |
Specifies the width of dropdown buttons which belong to the current bar manager’s large buttons in pixels. |
Large |
This property is obsolete, use the Image |
Large |
This property is obsolete, use the Image |
Lock |
Enables or disables updating of the current bar manager. |
Look |
Specifies the look and feel of bars. |
Main |
Provides access to the bar manager’s parent form. |
Main |
Returns the current bar manager’s toolbar that represents a main menu. |
Main |
Returns the current bar manager’s toolbar control that represents a main menu. |
Make |
This property is obsolete, use the Image |
Master |
Determines the root parent window of the current bar manager. |
Menu |
Specifies menu animation effects. |
Menus |
Determines whether the most recently used items are placed in menus above all others. |
Modified | Determines whether a user has made changes to the layout of the current bar manager’s toolbars and item controls. |
Most |
Specifies the border (in percentage) between the most recently used and the remaining menu item controls. |
Name | Inherited from TComponent. |
Not |
Specifies restrictions on docking toolbars. |
Observers | Inherited from TComponent. |
Owner | Indicates the component that is responsible for streaming and freeing the current bar manager. |
Painter |
Provides access to the painter class used to paint the current bar manager’s toolbars and their items. |
Parent |
Determines the parent bar manager. |
Parent |
Determines the parent window of the current bar manager. |
Pixels |
Returns the DPI value corresponding to the component’s current scaling factor.
Inherited from Tcx |
Popup |
Provides access to the collection of linked controls and toolbar popup menus. |
Registry |
Specifies the registry path where the current bar manager’s settings can be stored. |
Scalable protected |
Specifies if the component’s content should be scaled.
Inherited from Tcx |
Scaled | Deprecated. Specifies if the bar manager’s font size scales according to the target monitor’s DPI. |
Scale |
Returns the component’s scale factor.
Inherited from Tcx |
Selected |
Specifies the selected toolbar item control. |
Show |
Specifies whether the Close button is displayed on the current bar manager’s main menu. |
Show |
Determines whether hidden items, which have not been used recently, are automatically displayed in a menu after a delay. |
Show |
Specifies whether the Help button is displayed on the Customization Form. |
Show |
Determines whether a help Hint is displayed when the mouse pointer hovers over the current bar manager’s items. |
Show |
Specifies whether to show a hint for disabled items. |
Show |
Determines if item shortcuts are displayed with item hints. |
Store |
Specifies whether the current bar manager’s settings should be stored in an INI file. |
Store |
Specifies whether the current bar manager’s settings are stored in the registry. |
Stretch |
This property is obsolete, use the Image |
Style | Specifies bar paint style. |
Sunken |
Specifies the border style of the current bar manager’s dock controls. |
Tag | Inherited from TComponent. |
Use |
Specifies the settings to apply to hints. |
Use |
Specifies whether the current bar manager responds to the F10 key press event. |
Use |
Specifies which settings are restored when a toolbar is reset. |
Use |
This property is obsolete, use the Image |
Use |
Specifies the font used by the current bar manager to draw the toolbar controls. |
VCLCom |
Inherited from TComponent. |
Wait |
Determines how quickly (in milliseconds) a floating toolbar is docked. |
#Methods
Name | Description |
---|---|
Activate |
For internal use only. |
Active |
|
Add |
Creates a Tdx |
Add |
Creates an instance of the AClass item and adds it to the current bar manager. |
Add |
Creates a Tdx |
Add |
Creates a new toolbar instance and adds it to the current bar manager. |
Assign |
Inherited from TPersistent. |
Assign |
Inherited from TPersistent. |
Bar |
Returns a toolbar by its caption. |
Bar |
Returns a toolbar by its name. |
Bar |
Returns a toolbar by the name used in previous versions of the Express |
Begin |
Inherited from TComponent. |
Begin |
Inherited from TComponent. |
Begin |
Inherited from TComponent. |
Begin |
Inherited from TComponent. |
Begin |
Inherited from TComponent. |
Begin |
Inherited from TComponent. |
Begin |
Inherited from TComponent. |
Begin |
Inherited from TComponent. |
Begin |
Prevents a bar manager from being updated until the End |
Can |
Determines whether the recently used items of the current bar manager’s toolbars can be displayed. |
Change |
Scales the component and the associated controls and/or UI elements using the specified numerator and denominator values.
Inherited from Tcx |
Create |
Creates an item group. |
Customizing |
Displays or closes the toolbar’s Customization Form. |
Delete |
Deletes the ABar toolbar. |
Destroy |
Inherited from TComponent. |
Destroying | Inherited from TComponent. |
Do |
Fires the On |
Do |
Fires the On |
Do |
Fires the On |
Do |
Fires the On |
Do |
Fires the On |
Do |
Fires the On |
Do |
Checks whether a toolbar can be moved and fires the On |
Do |
|
Do |
Fires the On |
Do |
Fires the On |
End |
Inherited from TComponent. |
End |
Inherited from TComponent. |
End |
Inherited from TComponent. |
End |
Enables updating of a bar manager after a call to the Begin |
Equals |
Inherited from TObject. |
Exchange |
Swaps two items in a bar manager’s Items list. |
Execute |
Inherited from TComponent. |
Find |
Inherited from TComponent. |
Free |
Inherited from TComponent. |
Free |
Inherited from TComponent. |
Get |
Populates a list with the items (both accessible and inaccessible to end-users) in a specified category and returns the number of items in this list. |
Get |
Inherited from TComponent. |
Get |
Returns the number of items (excluding Tdx |
Get |
Inherited from TObject. |
Get |
Returns a particular item in a specified category. |
Get |
Returns an item by name. |
Get |
Populates a list with the items in a particular category and returns a count of the items in the list. |
Get |
Inherited from TPersistent. |
Get |
Inherited from TPersistent. |
Get |
Returns the paint style of the current bar manager. |
Get |
Inherited from TComponent. |
Get |
Returns the real paint style of the current bar manager. |
Get |
Generates a unique name for a bar manager’s item whose type is specified by the ABar |
Get |
Generates a unique caption for a bar manager’s toolbar adding an index to the string passed by the ABase |
Get |
Generates a unique name for the bar manager’s toolbar adding an index to the string passed by the ABase |
Has |
Inherited from TComponent. |
Hide |
Hides the active toolbar and its UI elements. |
Hide |
For internal use only. |
Ignore |
Forces the bar manager to ignore the keystroke passed to an On |
Insert |
Inherited from TComponent. |
Is |
Inherited from TComponent. |
Loaded protected |
Initializes the component following the application form loading.
Inherited from Tcx |
Load |
Loads bar manager’s settings from an INI file. |
Load |
Loads the bar manager’s settings stored in the registry. |
Load |
Loads the bar manager’s settings from a stream. |
Merge |
Incorporates bars of the ABar |
Move |
Moves an item to a new position in a bar manager’s Items collection. |
Notification |
Inherited from TComponent. |
Reference |
Inherited from TComponent. |
Remove |
Inherited from TComponent. |
Remove |
Inherited from TComponent. |
Rename |
Displays the Rename Toolbar dialog used for editing the ABar toolbar’s caption. |
Reset |
Restores the original settings of the ABar toolbar. |
Reset |
Restores the default set of visible item controls to menus and toolbars. |
Reset |
Displays a dialog box with a request message and in case of a positive answer restores the default data. |
Save |
Saves bar manager’s settings to an INI file. |
Save |
Saves the bar manager’s settings to the registry. |
Save |
Saves the bar manager’s settings to a stream. |
Scale |
Scales the component according to the specified DPI value.
Inherited from Tcx |
Set |
Inherited from TComponent. |
Set |
Inherited from TComponent. |
To |
Inherited from TObject. |
Unmerge |
Resets the ABar |
Update |
Inherited from TComponent. |
Use |
#Events
Name | Description |
---|---|
On |
Fires after the merge operations performed by the On |
On |
Occurs after a new toolbar has been added. |
On |
Occurs after the default settings of a specific toolbar have been restored. |
On |
Occurs before the default settings of a specific toolbar are restored. |
On |
Occurs when closing a floating toolbar. |
On |
Occurs before a toolbar is removed from the current bar manager’s collection of toolbars. |
On |
Occurs when a toolbar’s docking style is changed. |
On |
Enables you to cancel resetting toolbar settings and prohibit the confirmation dialog from being displayed to end-users. |
On |
Occurs when a toolbar’s visibility state is changed. |
On |
Fires when the bar manager is about to raise the On |
On |
Occurs when clicking a toolbar’s item. |
On |
Occurs when a toolbar that represents a main menu is being closed. |
On |
Occurs when an end-user changes a toolbar’s position. |
On |
Enables you to handle a keystroke or prevent the bar manager from handling it. |
On |
Occurs when clicking the Help button on the current bar manager’s Customization Form. |
On |
Occurs after hiding the current bar manager’s Customization Form. |
On |
Occurs when creating an item link within a collection of item links. |
On |
Occurs after an item link is modified. |
On |
Occurs before an item link is removed from a collection of item links. |
On |
Occurs when an MDI child form containing the main menu changes its state. |
On |
Fires when one of the MDI child forms changes its state. |
On |
Fires before an item link is added to the merging bar. |
On |
Occurs before the current bar manager’s Customization Form is displayed. |
On |
Occurs before a customizing popup menu is displayed. |
On |
Occurs before a toolbar’s popup menu is displayed. |
See Also