Click or drag to resize

TabControl Class

X#
Create a tab control.
Inheritance Hierarchy
Object
  VObject
    Control
      TextControl
        TabControl

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.24 GA
Syntax
 CLASS TabControl INHERIT TextControl
Request Example View Source

The TabControl type exposes the following members.

Constructors
  NameDescription
Public methodTabControl
Construct a tab control.
Top
Properties
  NameDescription
Public propertyAutoSize
A logical value which lets the tab control automatically resize itself to accommodate the size of largest tab page. The default is FALSE.
Public propertyCurrentPage
The currently displayed tab control page.
Public propertyImageList
The image list for the tab control.
Public propertyRowCount
A numeric value representing the number of rows of tabs currently displayed in the tab control.
Public propertySelectedTab
A symbolic name representing the currently selected tab in the tab control.
Public propertySelectedTabPage
The modeless dialog window object representing the currently selected tab page in the tab control.
Public propertyTabCount
A numeric value representing the total number of tabs in the tab control.
Top
Methods
  NameDescription
Public methodAddTipText
Add a string to be displayed as tip text for a tab.
Public methodAppendTab
Add a new tab and tab page at the end of a tab control.
Public methodChangeTipText
Change the current tip text for a tab.
Public methodCreatePageInstance
Dynamically create a tab page.
Public methodDeleteAllTabs
Remove all the tabs and their corresponding pages in the tab control.
Public methodDeleteTab
Remove a tab and page from the tab control.
Public methodDestroy
Provide a method to de-instantiate a Tab Control object.
(Overrides Destroy.)
Public methodGetCaption
Return the current caption for a tab.
Public methodGetTabBoundingBox
Get the bounding box representing the area that a tab occupies.
Public methodGetTabImage
Return the current image for a tab.
Public methodGetTabPage
Retrieve a specified tab page.
Public methodGetTipText
Return the current tip text for a tab.
Public methodHide
To hide the current tab page.
(Overrides Hide.)
Public methodInsertTab
Insert a new tab and tab page at a particular position in the tab control.
Public methodMove
Provide a method that is invoked when the control has focus and the control is moved (either by the user or by the application).
(Overrides Move(Usual).)
Public methodPadTabs
Pad a tab's label and icon with empty space.
Public methodRemoveTabImage
Remove an image from the tab control's image list.
Public methodRemoveTipText
Remove the current tip text for a tab.
Public methodResize
Provide a method that is invoked when the control has focus and the control changes size.
(Overrides Resize(Usual).)
Public methodSelectTab
Select a tab and display its page.
Public methodSetCaption
Set a new caption for a tab.
Public methodSetTabImage
Dynamically change the image (index) of a tab page.
Public methodSetTipText
Change the current tip text for a tab.
Top
Remarks
A tab control is a control that manages multiple pages (modeless dialog windows) and can be compared to dividers in a notebook. By using a tab control, an application can define multiple pages for the same area of a dialog window or data window. Each page is displayed when the user selects the corresponding tab.
See Also

Reference