PPGLayout.AddTab operator

Introduced

v4.0

Description

Starts a new tab on a layout. This allows a complex object to be represented on multiple "pages", rather than creating a very tall property page.

This should be the first item added to a multiple-tab layout. If a layout only has a single tab then the tab control does not show up.

Note: No "EndTab" method is necessary on PPGLayout. A tab is recognized as being complete when a new tab is started or the end of the layout is reached.

C# Syntax

PPGItem PPGLayout.AddTab( String in_Label );

Scripting Syntax

oReturn = PPGLayout.AddTab( Label );

Return Value

PPGItem

Parameters

Parameter Type Description
Label String The text that appears in the tab control

See Also

PPGLayout.EndGroup