Skip to content

TabControlItem Object Members

See Also

TabControlItem Overview

See Also

Command Bars ActiveX Control v24.0

TabControlItem Object Members

Public Methods

Public Method EnsureVisible
EnsureVisible method is used to force this tab to become visible.

Public Method GetRect
Returns the bounding rectangle of the tab button.

Public Method Move
Move method programmatically moves the tab within the TabWorkspace. This allows the tabs to be reordered.

Public Properties

Public Property Caption
Set/Get the text that will be displayed in the tab.

Public Property Closable
Closeable property specifies whether the close button is displayed in the TabWorkspace when this tab is selected.

Public Property Color
Set/Get the color of the tab.

Public Property Enabled
Gets/Sets a boolean value indicating whether the control is enabled.

Public Property Handle
Get the window handle that the tab is bound to.

Public Property Image
Set/Get the image that will be displayed in the tab when the ShowIcons property is set to True. This is the index of an image within an imagelist.

Public Property Index
Get the index of the tab.

Public Property Selected
True if the tab is currently selected, i.e., when the tab is clicked.

Public Property Tag
Stores any extra data needed for your program.

Public Property ToolTip
ToolTip property gets or sets the tool tip that is displayed when the mouse cursor is positioned over this tab item.

Public Property Visible
Gets/Sets a boolean value indicating whether the control is visible.

See Also

TabControlItem Overview


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.