Adds a new tab.
Class: TabCollectionClass
Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET
public TabClass Add(); public TabClass Add( string text ); public int Add( TabClass tab ); public TabClass Add( string text, Image image );
Public Function Add() As TabClass Public Function Add( ByVal text As String ) As TabClass Public Function Add( ByVal tab As TabClass ) As Integer Public Function Add( ByVal text As String, ByVal image As Image ) As TabClass
text
The tab's text.
tab
The tab.
image
The tab's image.
The new tab. When a TabClass object created by the application is added (tab parameter), the position of the new tab.
Adds a new tab.
The tab is added after the last tab of the collection. It is created without text, with the given text, or with the given text and image; a TabClass object created by the application can be added instead. The TabCollectionClass.Insert method adds a tab at a given position.
If the control has a client area (SftTabs.ClientArea property), the tab receives its own page (TabClass.Page property).
See Also TabCollectionClass Class | Classes | SftTabs/NET 3.0