romulus wrote in message news:<506500000008000000CFFE0000-1079395200000@exchange.ni.com>...
> Hi,
>
> I have a tab control in my program and each page has different amounts
> of controls on it. I would like to know how I can make the tab control
> pages resize automatically, only to fit the controls on the page and
> not have extra space underneath that other pages require.
You can use the tab control property 'PaneDimension' to
programatically change the size of the tab control. To
programatically find the areas occupied by the controls on each page:
Use the 'Pages' property of the tab control to get a reference to the
desired page; wire that to a property node and select the
'ControlsOnPage[]' property; iterate through all the control
refere
nces, getting the position and bounds of each control, using
'Max & Min' and shift registers to find the extent occupied by the
controls.
Paul Cardinale