int EasyTab_RemovePanel (int panel, int tabControl, int tabPanelHandle);
This function removes a tab from the Tab control. This means that the panel corresponding to the removed tab is no longer owned by the Tab control. This function does not discard the panel.
This function hides the panel by setting ATTR_VISIBLE to false.
Input | ||
Name | Type | Description |
panel | integer | The specifier for a particular panel that is currently in memory. This handle will have been returned by the LoadPanel, NewPanel, or DuplicatePanel function. |
tabControl | integer | The ID returned by the EasyTab_Create or EasyTab_ConvertFromCanvas function. |
tabPanelHandle | integer | Panel Handle returned by EasyTab_LoadPanels or EasyTab_GetAttribute(,,ATTR_EASY_TAB_ACTIVE_PANEL,). |
Name | Type | Description | ||||||
status | integer | Return value indicating whether the function was successful. A negative number indicates that an error occurred. The possible negative error codes are:
A description of any of these error codes can be obtained using the GetGeneralErrorString function in the toolbox.fp instrument driver. |