Given a component, this retrieves the tab page that it's parented to, or null if it's not parented to any tab page.
[Visual Basic] Public Shared Function GetTabPageOfComponent( _ ByVal comp As Object _ ) As TabPage [C#] public static TabPage GetTabPageOfComponent( object comp ); [C++] public: static TabPage* GetTabPageOfComponent( Object* comp ); [JScript] public static function GetTabPageOfComponent( comp : Object ) : TabPage;
a TabPage that the component is parented to, or null if no such page exists. This will return the component if it is an instance of TabPage.