BBjTabCtrl::addTab
Description
Adds a tab and associated control to the BBjTabCtrl.
Syntax
Return Value |
Method |
void |
addTab(string title, BBjControl control!) |
void |
addTab(string title, int controlID) |
void |
addTab(string title, int imgIndex, BBjControl control!) |
void |
addTab(string title, int imgIndex, int controlID) |
Parameters
Variable |
Description |
title |
Specifies the tab's title. |
control! |
Specifies the control that will be displayed in the client area. |
controlID |
Specifies the ID of the control that will be displayed in the client area. |
imgIndex |
Specifies the index of an image in the image list assigned to the control that will be displayed on the tab. An image list is assigned to the control by calling either the setImageListPath method or the setImageListID method. |
Return Value
None.
Remarks
The tab will be added to the end of the tab control.
When the owner of the parameter does not match the object on which the methods is being called, an !ERROR=208 Multi Thread results. See Accessing Objects From Different Interpreters.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.