TTMSFNCTabSet Class
Displays a configurable tab strip with optional insert, close, list, scrolling, editing, badges, bitmaps, and progress indicators.
API unit family: TMSFNCTabSet
Inherits from: TTMSFNCCustomTabSet
Syntax
TTMSFNCTabSet = class(TTMSFNCCustomTabSet)
Properties
| Name | Description |
|---|---|
| ActiveTab | Gets or sets the currently selected tab. (inherited from TTMSFNCCustomTabSet) |
| ActiveTabIndex | Gets or sets the zero-based index of the selected tab. (inherited from TTMSFNCCustomTabSet) |
| BitmapContainer | Provides the bitmap container used to resolve tab images by name. (inherited from TTMSFNCCustomTabSet) |
| ButtonAppearance | Configures the tab-list, insert, close, and scroll button appearance. (inherited from TTMSFNCCustomTabSet) |
| GlobalFont | Applies a shared font setting to tab text and related visual elements. (inherited from TTMSFNCCustomTabSet) |
| Interaction | Configures keyboard, mouse, editing, navigation, and URL interaction behavior. (inherited from TTMSFNCCustomTabSet) |
| Layout | Configures tab placement and multiline layout behavior. (inherited from TTMSFNCCustomTabSet) |
| Options | Configures optional tab-list, insert, and close UI behavior. (inherited from TTMSFNCCustomTabSet) |
| TabAppearance | Configures default visual styling for tabs. (inherited from TTMSFNCCustomTabSet) |
| TabList | Provides access to the list control displayed in the tab-list popup. (inherited from TTMSFNCCustomTabSet) |
| TabListPopup | Provides access to the popup that hosts the tab list. (inherited from TTMSFNCCustomTabSet) |
| TabSize | Configures automatic and fixed tab dimensions. (inherited from TTMSFNCCustomTabSet) |
| Tabs | Contains the tabs displayed by the control. (inherited from TTMSFNCCustomTabSet) |
| Version | Returns the component version string. (inherited from TTMSFNCCustomTabSet) |
Methods
| Name | Description |
|---|---|
| AddTab | Adds a tab to the end of the tab collection. (inherited from TTMSFNCCustomTabSet) |
| BeginUpdate | Starts a batched update of the tab collection and layout. (inherited from TTMSFNCCustomTabSet) |
| CancelEditing | Cancels the active in-place edit operation. (inherited from TTMSFNCCustomTabSet) |
| CloseInplaceEditor | Closes the active in-place editor. (inherited from TTMSFNCCustomTabSet) |
| EndUpdate | Ends a batched update and refreshes the tab layout. (inherited from TTMSFNCCustomTabSet) |
| FindNextTab | Returns the next tab index after the specified tab. (inherited from TTMSFNCCustomTabSet) |
| FindPreviousTab | Returns the previous tab index before the specified tab. (inherited from TTMSFNCCustomTabSet) |
| FocusNextTab | Moves focus to the next available tab. (inherited from TTMSFNCCustomTabSet) |
| FocusPreviousTab | Moves focus to the previous available tab. (inherited from TTMSFNCCustomTabSet) |
| FocusTab | Moves focus to the specified tab. (inherited from TTMSFNCCustomTabSet) |
| InitSample | Populates the control with sample tabs for design-time exploration. (inherited from TTMSFNCCustomTabSet) |
| InsertTab | Inserts a tab at the specified index. (inherited from TTMSFNCCustomTabSet) |
| IsEditing | Checks whether an in-place tab editor is active. (inherited from TTMSFNCCustomTabSet) |
| IsTabEnabled | Checks whether a tab is enabled. (inherited from TTMSFNCCustomTabSet) |
| IsTabVisible | Checks whether a tab is visible. (inherited from TTMSFNCCustomTabSet) |
| LoadSettingsFromFile | Loads persisted tab settings from a file. (inherited from TTMSFNCCustomTabSet) |
| LoadSettingsFromStream | Loads persisted tab settings from a stream. (inherited from TTMSFNCCustomTabSet) |
| MoveTab | Moves a tab from one index to another. (inherited from TTMSFNCCustomTabSet) |
| RemoveTab | Removes the tab at the specified index. (inherited from TTMSFNCCustomTabSet) |
| ScrollToTab | Scrolls the tab strip so the specified tab is visible. (inherited from TTMSFNCCustomTabSet) |
| SelectNextTab | Selects the next available tab. (inherited from TTMSFNCCustomTabSet) |
| SelectPreviousTab | Selects the previous available tab. (inherited from TTMSFNCCustomTabSet) |
| SelectTab | Selects the tab at the specified index. (inherited from TTMSFNCCustomTabSet) |
| StopEditing | Commits the active in-place edit operation. (inherited from TTMSFNCCustomTabSet) |
| XYToCloseButton | Checks whether the specified coordinates are over the menu close button. (inherited from TTMSFNCCustomTabSet) |
| XYToCloseTab | Returns the tab whose close button contains the specified coordinates. (inherited from TTMSFNCCustomTabSet) |
| XYToInsertButton | Checks whether the specified coordinates are over the insert button. (inherited from TTMSFNCCustomTabSet) |
| XYToScrollNextButton | Checks whether the specified coordinates are over the next-scroll button. (inherited from TTMSFNCCustomTabSet) |
| XYToScrollPreviousButton | Checks whether the specified coordinates are over the previous-scroll button. (inherited from TTMSFNCCustomTabSet) |
| XYToTab | Returns the tab display information at the specified control coordinates. (inherited from TTMSFNCCustomTabSet) |
| XYToTabListButton | Checks whether the specified coordinates are over the tab-list button. (inherited from TTMSFNCCustomTabSet) |
Events
| Name | Description |
|---|---|
| OnAfterDrawMenuButton | Occurs after a menu button has been drawn. (inherited from TTMSFNCCustomTabSet) |
| OnAfterDrawTabBackground | Occurs after a tab background has been drawn. (inherited from TTMSFNCCustomTabSet) |
| OnAfterDrawTabBadge | Occurs after a tab badge has been drawn. (inherited from TTMSFNCCustomTabSet) |
| OnAfterDrawTabBitmap | Occurs after a tab bitmap has been drawn. (inherited from TTMSFNCCustomTabSet) |
| OnAfterDrawTabCloseButton | Occurs after a tab close button has been drawn. (inherited from TTMSFNCCustomTabSet) |
| OnAfterDrawTabProgress | Occurs after a tab progress indicator has been drawn. (inherited from TTMSFNCCustomTabSet) |
| OnAfterDrawTabText | Occurs after tab text has been drawn. (inherited from TTMSFNCCustomTabSet) |
| OnAnchorTabClick | Occurs when the user clicks an HTML anchor inside a tab caption. (inherited from TTMSFNCCustomTabSet) |
| OnBeforeChangeTab | Occurs before the active tab changes and allows the change to be cancelled. (inherited from TTMSFNCCustomTabSet) |
| OnBeforeCloseTab | Occurs before a tab is closed and allows the close action to be changed. (inherited from TTMSFNCCustomTabSet) |
| OnBeforeDrawMenuButton | Occurs before a menu button is drawn and allows default drawing to be suppressed. (inherited from TTMSFNCCustomTabSet) |
| OnBeforeDrawTabBackground | Occurs before a tab background is drawn and allows default drawing to be suppressed. (inherited from TTMSFNCCustomTabSet) |
| OnBeforeDrawTabBadge | Occurs before a tab badge is drawn and allows default drawing to be suppressed. (inherited from TTMSFNCCustomTabSet) |
| OnBeforeDrawTabBitmap | Occurs before a tab bitmap is drawn and allows default drawing to be suppressed. (inherited from TTMSFNCCustomTabSet) |
| OnBeforeDrawTabCloseButton | Occurs before a tab close button is drawn and allows default drawing to be suppressed. (inherited from TTMSFNCCustomTabSet) |
| OnBeforeDrawTabProgress | Occurs before a tab progress indicator is drawn and allows default drawing to be suppressed. (inherited from TTMSFNCCustomTabSet) |
| OnBeforeDrawTabText | Occurs before tab text is drawn and allows default drawing to be suppressed. (inherited from TTMSFNCCustomTabSet) |
| OnBeforeInsertTab | Occurs before a new tab is inserted and allows the target index or operation to be changed. (inherited from TTMSFNCCustomTabSet) |
| OnBeforeOpenInplaceEditor | Occurs before the in-place editor opens and allows editing to be cancelled. (inherited from TTMSFNCCustomTabSet) |
| OnBeforeReorderTab | Occurs before tabs are reordered and allows the reorder operation to be cancelled. (inherited from TTMSFNCCustomTabSet) |
| OnBeforeUpdateTab | Occurs before an edited tab caption is applied and allows the text or operation to be changed. (inherited from TTMSFNCCustomTabSet) |
| OnChangeTab | Occurs after the active tab changes. (inherited from TTMSFNCCustomTabSet) |
| OnCloseInplaceEditor | Occurs when the in-place editor is closing and allows the close operation to be cancelled. (inherited from TTMSFNCCustomTabSet) |
| OnCloseTab | Occurs after a tab close request has been handled. (inherited from TTMSFNCCustomTabSet) |
| OnCustomizeInplaceEditor | Occurs after the in-place editor is created so its settings can be customized. (inherited from TTMSFNCCustomTabSet) |
| OnGetInplaceEditor | Occurs when the control requests the editor class used for in-place tab editing. (inherited from TTMSFNCCustomTabSet) |
| OnGetInplaceEditorRect | Occurs when the control requests the bounds of the in-place editor. (inherited from TTMSFNCCustomTabSet) |
| OnInsertTab | Occurs after a new tab has been inserted. (inherited from TTMSFNCCustomTabSet) |
| OnOpenInplaceEditor | Occurs after the in-place editor opens for a tab. (inherited from TTMSFNCCustomTabSet) |
| OnReorderTab | Occurs after a tab has been reordered. (inherited from TTMSFNCCustomTabSet) |
| OnUpdateTab | Occurs after an edited tab caption has been applied. (inherited from TTMSFNCCustomTabSet) |