Set the control that appears in the top right corner of the tab folder.
Typically this is a close button or a composite with a Menu and close button.
The topRight control is optional. Setting the top right control to null will
remove it from the tab folder.
@param control the control to be displayed in the top right corner or null
@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>
<li>ERROR_INVALID_ARGUMENT - if the control is not a child of this CTabFolder</li>
</ul>
Set the control that appears in the top right corner of the tab folder. Typically this is a close button or a composite with a Menu and close button. The topRight control is optional. Setting the top right control to null will remove it from the tab folder.
@param control the control to be displayed in the top right corner or null
@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> <li>ERROR_INVALID_ARGUMENT - if the control is not a child of this CTabFolder</li> </ul>
@since 2.1