int EasyTab_AutoSize (int panel, int tabControl);
This function automatically sizes a Tab control to accommodate its largest panels and the space required for the tabs.
This function is called implicitly the first time a Tab control draws itself. In general, it is not necessary to call this function directly.
![]() |
Note If the tab control was converted from a canvas control, it will not automatically set its size smaller that the original size of the canvas control. |
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. |
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. |