Skip to content

TabControlItem Object Members

See Also

TabControlItem Overview

See Also Docking Pane ActiveX Control v24.0

TabControlItem Object Members

Public Methods

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

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

Public Properties

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

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

  • Public Property Enabled
    Gets/Sets a Boolean value indicating whether the tab is enabled. If false, the tab will appear "grayed out" and the user cannot access the tab.

  • 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 Visible
    Gets/Sets a Boolean value indicating whether the tab is visible. If false, the tab will not be visible.

See Also

TabControlItem Overview


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