EasyTab_AutoSize
- Updated2023-02-21
- 2 minute(s) read
int EasyTab_AutoSize (int panel, int tabControl);
Purpose
![]() |
Note This function is deprecated. National Instruments recommends that you use the tab control instead. |
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. |
Parameters
| Input | ||
| Name | Type | Description |
| panel | int | 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 | int | The ID returned by the EasyTab_Create or EasyTab_ConvertFromCanvas function. |
Return Value
| Name | Type | Description | ||||||
| status | int | 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. |
Additional Information
Library: Easy Tab Control
Include file: custctrl\easytab.h
LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later
