BBjTabCtrl::setCloseableAt
Description
In BBj 16.00 and higher, this method specifies whether a specific BBjTabCtrl tab should show a close button.
Syntax
Return Value |
Method |
void |
setCloseableAt(int index, boolean closeable) |
Parameters
Variable |
Description |
index |
Specifies the 0-based index of the tab. |
closeable |
Specifies whether the tab should show a close button. 0 = Do not show a close button. 1 = Show a close button. |
Return Value
None.
Remarks
Clicking the close button fires an ON_TAB_CLOSE_EVENT, which the program is free to honor or ignore. By default, the BBjTabCtrl does not show close buttons on tabs.
Example
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.