Returns the position of the given tab.
Class: TabCollectionClass
Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET
public int IndexOf( TabClass tab );
public int IndexOf( string name );Public Function IndexOf( ByVal tab As TabClass ) As Integer Public Function IndexOf( ByVal name As String ) As Integer
tab
The tab.
name
The name.
The zero-based position, or -1 if the tab is not part of the collection or no tab has the given name.
Returns the position of the given tab.
A tab can be located by its TabClass object or by its name (TabClass.Name property).
See Also TabCollectionClass Class | Classes | SftTabs/NET 3.0