Skip to main content

TdxBarItem Members

A bar item.

Constructors

Name Description
Create(TComponent) Inherited from TComponent.

Properties

Name Description
Action Specifies the action associated with TdxBarItem.
ActuallyVisible Determines whether an item is accessible to a user.
Align Defines item control alignment within a toolbar area.
BarManager Provides access to the bar manager to which the component belongs. Inherited from TdxBarComponent.
CanSelect protected
Caption Specifies the bar item caption.
Category Specifies the category to which the toolbar item belongs.
ClickItemLink Specifies the item link whose item control has been clicked.
ComObject Inherited from TComponent.
ComponentCount Inherited from TComponent.
ComponentIndex Inherited from TComponent.
Components Inherited from TComponent.
ComponentState Inherited from TComponent.
ComponentStyle Inherited from TComponent.
CurItemLink Returns the current active item link.
Data Specifies an object that contains arbitrary data associated with the bar item.
Description Specifies an item’s description.
DesignInfo Inherited from TComponent.
Enabled
Glyph Specifies the glyph that is displayed when this item’s link represents a standard size (16 by 16 pixels) item control.
HelpContext Provides a context number when calling context-sensitive online Help.
Hint Specifies a hint for the bar item.
ImageIndex Specifies the image that is displayed when the item’s link represents a standard size (16 by 16 pixels) item control or enlarged standard size button.
Index Specifies item index in a bar manager’s item list.
IsPredefined
KeyTip Specifies a KeyTip for the current item’s links.
LargeGlyph Specifies the glyph that is displayed when this item’s link represents a large button, enlarged standard size button, or large size menu item.
LargeImageIndex Specifies the image that is displayed when this item’s link represents a large button, enlarged standard size button, or large size menu item.
LinkCount Determines the number of item links contained in the Links property.
Links Returns an object of type TdxBarItemLink with an Index which links to a given element.
MergeKind Specifies how the current bar item will be merged into another bar.
MergeOrder Specifies the relative visual position of the item among items in the merging bar.
Name Inherited from TComponent.
Observers Inherited from TComponent.
Owner Inherited from TComponent.
PaintStyle protected Specifies the look of linked item controls on screen.
ScreenTip Associates the currently processed bar item with a ScreenTip.
ShortCut Specifies the shortcut for the bar item.
ShowCaption protected
Style Specifies the style applied to the toolbar item.
Tag Inherited from TComponent.
UnclickAfterDoing Determines the item’s click behavior.
VCLComObject Inherited from TComponent.
Visible Specifies the bar component’s visibility state in the parent bar manager at runtime. Inherited from TdxBarComponent.
VisibleForCustomization
VisibleForUser Determines whether an item is visible to a user.
Width protected Specifies the bar item’s width, in pixels.

Methods

Name Description
ActionChange(TObject,Boolean) protected Updates linked item controls to reflect changes in associated actions.
Assign(TPersistent) Inherited from TPersistent.
AssignTo(TPersistent) Inherited from TPersistent.
BeginInvoke(TAsyncConstArrayFunctionEvent,Untyped[],TObject) Inherited from TComponent.
BeginInvoke(TAsyncConstArrayProc,Untyped[],TObject) Inherited from TComponent.
BeginInvoke(TAsyncConstArrayProcedureEvent,Untyped[],TObject) Inherited from TComponent.
BeginInvoke(TAsyncFunctionEvent,TObject) Inherited from TComponent.
BeginInvoke(TAsyncProcedureEvent,TObject) Inherited from TComponent.
BeginInvoke(TProc,TObject) Inherited from TComponent.
BeginInvoke<TResult>(TAsyncConstArrayFunc<TResult>,Untyped[],TObject) Inherited from TComponent.
BeginInvoke<TResult>(TFunc<TResult>,TObject) Inherited from TComponent.
CanChangePaintStyle protected
CanClicked protected Specifies whether an item responds to mouse clicks.
CaptionChanged protected This method is called when caption changes.
Click Calls the DirectClick method to respond to mouse clicks.
DestroyComponents Inherited from TComponent.
Destroying Inherited from TComponent.
DirectClick Processes mouse click events.
DoClick This procedure generates an OnClick event.
EnabledChanged protected This procedure is called when the Enabled property changes.
EndFunctionInvoke(IAsyncResult) Inherited from TComponent.
EndInvoke(IAsyncResult) Inherited from TComponent.
EndInvoke<TResult>(IAsyncResult) Inherited from TComponent.
Equals(TObject) Inherited from TObject.
ExecuteAction(TBasicAction) Inherited from TComponent.
FindComponent(String) Inherited from TComponent.
FreeNotification(TComponent) Inherited from TComponent.
FreeOnRelease Inherited from TComponent.
GetActionLinkClass protected Returns an appropriate action link class associated with controls.
GetAddMessageName
GetChildren(TGetChildProc,TComponent) Inherited from TComponent.
GetCurrentImages Returns the image list that is used when the current toolbar item is painted.
GetHashCode Inherited from TObject.
GetNamePath Inherited from TPersistent.
GetOwner Inherited from TPersistent.
GetParentComponent Returns the parent component of a TdxBarItem object.
GlyphChanged protected Called after a source of images for the current bar item has been changed.
HasAccel(TdxBarItemLink) protected Specifies if TdxBarItem includes an accelerator key.
HasParent Determines if the bar item belongs to a TdxBarManager category.
HotGlyphChanged protected Called after a source of hot images for the current bar item has been changed.
InsertComponent(TComponent) Inherited from TComponent.
IsImplementorOf(IInterface) Inherited from TComponent.
LargeGlyphChanged protected Called after a source of large images for the current bar item has been changed.
Loaded Inherited from TComponent.
Notification(TComponent,TOperation) Inherited from TComponent.
PaintStyleChanged protected
ReferenceInterface(IInterface,TOperation) Inherited from TComponent.
RemoveComponent(TComponent) Inherited from TComponent.
RemoveFreeNotification(TComponent) Inherited from TComponent.
SetParentComponent(TComponent) Sets the parent object of TdxBarItem.
SetSubComponent(Boolean) Inherited from TComponent.
ShortCutChanged protected Applies a shortcut change for the bar item.
ToString Inherited from TObject.
Update protected Repaints corresponding item controls.
UpdateAction(TBasicAction) Inherited from TComponent.
UpdateEx(TdxBarKinds) protected Repaints corresponding item controls.
UseHotImages protected Determines if a bar item uses an image from the bar manager’s HotImages list to draw linked item controls.
VisibleChanged protected This procedure is called when the Visible property changes.
WidthChanged protected

Events

Name Description
OnClick Allows you to respond to clicks on the bar item.
OnDestroy This event occurs before the bar item is destroyed.
OnGetScreenTip
See Also