JVCL Help:TJvCustomTabBar
JVCL Help: TJvCustomTabBar Class
Search in JVCL Help
Search in all projectsClass Hierarchy
TJvCustomTabBar
TJvTabBar
run\JvTabBar.pas
Summary
Specifies the interface for a tab bar control.
Pascal
run\JvTabBar.pas
TJvCustomTabBar = class(TCustomControl);
Description
TJvCustomTabBar is a TCustomControl descendant that specifies the interface for a tab bar control. TJvCustomTabBar implements methods that provide the default behavior for the tabbed-bar control.
TJvCustomTabBar is a visual control that can arrange the items defined in the Tabs property on a scrollable drawing surface. Use AddTab to create a new Tab for the tabbed-bar control. Use FindTab to locate a tab in the control with the desired caption. Use MakeVisible to display a specific item in the Tabs property.
The Images property stores graphic images that can be displayed for items in the Tabs property.
Use the Painter property to specify the rendering mechanism to use for both the control and the Tabs defined for the control.
TJvCustomTabBar can have an associated list of TJvCustomPage instances in the Pages property that are displayed when a Tab is selected using the control.
Use Orientation to specify whether tabs are oriented toward the top or bottom of the tabbed-bar control. Use Align to specify the display alignment of the tabbed-bar control in its' parent control.
Additional display options applied to all tabs in the tabbed-bar control can be specified using the following properties:
CloseButton |
HotTacking |
RightClickSelect |
AllowUnselected |
AllowTabMoving |
SelectBeforeClose |
Margin |
Use SelectedTab, LeftTab, HotTab, and ClosingTab to access status and state information for tabs the tabbed-bar control.
Use AutoFreeClosed to indicate if items in the Tabs property are automatically freed when the close button is clicked.
TJvCustomTabBar introduces the following event handler properties used to perform specific processing required when an item in the Tabs collection is (or will be) selected or closed:
OnTabClosing |
OnTabClosed |
OnTabSelecting |
OnTabSelected |
Use OnChange to implement processing required when an item in the Tabs collection is updated.
See Also
TJvTabBar, TJvStandardPage, TJvCustomPage, TJvTabBarPainter, TJvModernTabBarPainter
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page