CTabItem.setControl

Sets the control that is used to fill the client area of the tab folder when the user selects the tab item.

@param control the new control (or null)

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the control has been disposed</li> <li>ERROR_INVALID_PARENT - if the control is not in the same widget tree</li> </ul> @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

class CTabItem
void
setControl

Meta