PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFRTabPane
Responder which represents a tab pane for the tab control.
#include <SFRTabPane.hpp>
class SFRTabPane : public SFRPane;
SFMTYPEDEFCLASS(SFRTabPane)

Inheritance diagram

 Inheritance diagram of SFRTabPaneClass

Collaboration diagram

 Collaboration diagram of SFRTabPaneClass

Description

A tab pane is used for the tab control which is its parent responder. The color of seleted part can be modified with SFRTabControl::ColorEnum.

It is also possible to implement an original tab pane for the tab control by inheriting from the responder.

The code to implement the tab pane is as below:

Void UserClass::Main(Void)
{
  SFRTabControlPtr  tab;
  SFRTabPanePtr     pane;

  tab = new SFRTabControl(window, SFXRectangle(5, 5, 100, 100));
  
  // set the color of tab
  // use the default color if there is no color setting
  tab->SetColor(SFRTabControl::COLOR_LIGHT, SFXRGBColor(0x99, 0x99, 0x99, 0x00));
  tab->SetColor(SFRTabControl::COLOR_BASE, SFXRGBColor(0x66, 0x66, 0x66, 0x00));
  tab->SetColor(SFRTabControl::COLOR_SHADOW, SFXRGBColor(0x33, 0x33, 0x33, 0x00));
  tab->SetColor(SFRTabControl::COLOR_TITLE, SFXRGBColor(0xBB, 0xBB, 0xBB, 0x00));
  
  // create the tab pane
  pane = new SFRTabPane(tab, "page1");
  new SFRCheckboxControl(pane, SFXRectangle(5, 5, 96, 16), "checkbox");
  
  // create 1 more tab pane
  pane = new SFRTabPane(tab, "page2");
  return;
}

Reference

SFRResponder | SFRApplication | SFRWindow | SFRDialog | SFRControl | SFRPane | SFRPlainPane | SFRTabControl | Tab

Member

Constructor/Destructor
SFRTabPane( SFRTabControlPtr director , SFXWideStringConstRef title , BehaviorType behavior = BEHAVIOR_SFRTABPANE , SFCType attribute = ATTRIBUTE_SFRTABPANE )
Constructor of the SFRTabPane class.
~SFRTabPane( Void )
Destructor of the SFRTabPane class.
Public Functions
SFRTabControlPtr GetDirector( Void )
Get the parent responder.
SFXWideStringConstRef GetTitle( Void )
Get the title of the tab pane.
Void Group( SFRResponderPtr with )
Group the other responder(s). [Invalid]
Void Select( Void )
Select the pane.
Void SetBaseBound( SFXRectangleConstRef rect )
Set the coordinate of base region. [This function is not available.]
Void SetStatusEnable( Bool enable )
Set the Enable / Disable status.
Void SetStatusFocus( Bool focus )
Set the Focused / Unfocused status.
Void SetStatusVisible( Bool visible )
Set the Visible / Invisible status.
Void SetTitle( SFXWideStringConstRef title )
Set the title.
Void Ungroup( Void )
Ungroup the responder group. [This function is not available.]
Bool ClearHandler( Void ) (inherits from SFRResponder)
[Handler] Clear the " Targeted " status of responder, or destroy the responder.
Bool Compare( SFCType type , SFCType attribute , BehaviorType behavior ) (inherits from SFRResponder)
Compare with type, attribute and behavior.
Bool FocusDown( Bool repeat = true ) (inherits from SFRResponder)
Focus down to the next responder.
Bool FocusDownHandler( Void ) (inherits from SFRResponder)
[Handler] Focus down to the next responder.
Bool FocusLeft( Bool repeat = true ) (inherits from SFRResponder)
Focus left to the next responder.
Bool FocusLeftHandler( Void ) (inherits from SFRResponder)
[Handler] Focus left to the next responder.
Bool FocusNext( Bool repeat = true ) (inherits from SFRResponder)
Focus to the next sibling responder.
Bool FocusNextHandler( Void ) (inherits from SFRResponder)
[Handler] Focus to the next sibling responder.
Bool FocusPrevious( Bool repeat = true ) (inherits from SFRResponder)
Focus to the previous sibling responder.
Bool FocusPreviousHandler( Void ) (inherits from SFRResponder)
[Handler] Focus to the previous sibling responder.
Bool FocusRight( Bool repeat = true ) (inherits from SFRResponder)
Focus right to the next responder.
Bool FocusRightHandler( Void ) (inherits from SFRResponder)
[Handler] Focus right to the next responder.
Bool FocusUp( Bool repeat = true ) (inherits from SFRResponder)
Focus up to the next responder.
Bool FocusUpHandler( Void ) (inherits from SFRResponder)
[Handler] Focus up to the next responder.
SFCType GetAttribute( Void ) (inherits from SFRResponder)
Get the attribute.
SFRResponderPtr GetBack( SFCType type = TYPE_WILDCARD , SFCType attribute = ATTRIBUTE_WILDCARD , BehaviorType compare = STATUS_VISIBLE|STATUS_ENABLE ) (inherits from SFRResponder)
Get the child responder at the most background that matches the specified search condition.
SFXRectangleConstRef GetBaseBound( Void ) (inherits from SFRResponder)
Get the base region with the coordinate of content region of parent responder.
SFXRectangle GetBaseWorld( Void ) (inherits from SFRResponder)
Get the base region.
SFXRectangleConstRef GetContentBound( Void ) (inherits from SFRResponder)
Get the content region with the coordinate of base region.
SFXRectangle GetContentWorld( Void ) (inherits from SFRResponder)
Get the content region.
SFRResponderPtr GetFocus( Void ) (inherits from SFRResponder)
Get the responder with focus in its ownership hierarchy.
SFXMargin GetFrameMargin( Void ) (inherits from SFRResponder)
Get the margin between base and content region(in pixels).
SFRResponderPtr GetFront( SFCType type = TYPE_WILDCARD , SFCType attribute = ATTRIBUTE_WILDCARD , BehaviorType compare = STATUS_VISIBLE | STATUS_ENABLE ) (inherits from SFRResponder)
Get the child responder at the most foreground that matches the specified search condition.
SInt16 GetIndexBackward( SFCType type = TYPE_WILDCARD , SFCType attribute = ATTRIBUTE_WILDCARD , BehaviorType compare = STATUS_VISIBLE|STATUS_ENABLE ) (inherits from SFRResponder)
Get the index number from the most background of responder that matches the specified search condition.
SInt16 GetIndexForward( SFCType type = TYPE_WILDCARD , SFCType attribute = ATTRIBUTE_WILDCARD , BehaviorType compare = STATUS_VISIBLE|STATUS_ENABLE ) (inherits from SFRResponder)
Get the index number from the most foreground of responder that matches the specified search condition.
Bool GetInheritEnable( Void ) (inherits from SFRResponder)
Get the " Enable / Disable " status of responder including its parent responders.
Bool GetInheritFocus( Void ) (inherits from SFRResponder)
Get the " Focused / Unfocused " status of responder including its parent responders.
Bool GetInheritTarget( Void ) (inherits from SFRResponder)
Get the " Target / Not-Target " status of responder including its parent responders.
Bool GetInheritVisible( Void ) (inherits from SFRResponder)
Get the " Visible / Invisible " status of responder including its parent responders.
SFRResponderPtr GetLeft( SFCType type = TYPE_WILDCARD , SFCType attribute = ATTRIBUTE_WILDCARD , BehaviorType compare = STATUS_VISIBLE|STATUS_ENABLE ) (inherits from SFRResponder)
Get the previous responder among the grouped responders that matches the specified search condition.
SInt16 GetMoveInterval( Void ) (inherits from SFRResponder)
Get the move interval in pixels.
SInt16 GetMoveMargin( Void ) (inherits from SFRResponder)
Get the margin pixels of content region ( or virtual region if set with the parent responder ) where the child responder cannot move.
SFRResponderPtr GetNext( SFCType type = TYPE_WILDCARD , SFCType attribute = ATTRIBUTE_WILDCARD , BehaviorType compare = STATUS_VISIBLE|STATUS_ENABLE , Bool repeat = true ) (inherits from SFRResponder)
Get the next sibling responder that matches the specified search condition.
SFRResponderPtr GetNthBackward( SInt16 index , SFCType type = TYPE_WILDCARD , SFCType attribute = ATTRIBUTE_WILDCARD , BehaviorType compare = STATUS_VISIBLE|STATUS_ENABLE ) (inherits from SFRResponder)
Get the Nth child responder from the most background that matches the specified search condition.
SFRResponderPtr GetNthForward( SInt16 index , SFCType type = TYPE_WILDCARD , SFCType attribute = ATTRIBUTE_WILDCARD , BehaviorType compare = STATUS_VISIBLE|STATUS_ENABLE ) (inherits from SFRResponder)
Get the Nth child responder from the most foreground that matches the specified search condition.
SFRResponderPtr GetPrevious( SFCType type = TYPE_WILDCARD , SFCType attribute = ATTRIBUTE_WILDCARD , BehaviorType compare = STATUS_VISIBLE|STATUS_ENABLE , Bool repeat = true ) (inherits from SFRResponder)
Get the previous sibling responder that matches the specified search condition.
VoidPtr GetReference( Void ) (inherits from SFRResponder)
Get the reference value.
SFRResponderPtr GetRight( SFCType type = TYPE_WILDCARD , SFCType attribute = ATTRIBUTE_WILDCARD , BehaviorType compare = STATUS_VISIBLE|STATUS_ENABLE ) (inherits from SFRResponder)
Get the next responder among the grouped responders that matches the specified search condition.
SInt16 GetScrollInterval( Void ) (inherits from SFRResponder)
Get the scroll interval in pixels.
Bool GetStatusEnable( Void ) (inherits from SFRResponder)
Get the value of " Enable / Disable " flag.
Bool GetStatusFocus( Void ) (inherits from SFRResponder)
Get the value of " Focused / Unfocused " flag.
Bool GetStatusTarget( Void ) (inherits from SFRResponder)
Get the value of " Target / Non-target " flag.
Bool GetStatusVisible( Void ) (inherits from SFRResponder)
Get the value of " Visible / Invisible " flag.
SFXGrid GetTranslate( Void ) (inherits from SFRResponder)
Get the origin coordinate of virtual region with the coordinate of content region.
SInt16 GetTravelMargin( Void ) (inherits from SFRResponder)
Get the margin pixels of content region inside which the rectangle in the virtual region but outside the content region should be automatically scrolled by using the SFRResponder::Travel function.
SFCType GetType( Void ) (inherits from SFRResponder)
Get the responder type.
SFXRectangleConstRef GetVirtualBound( Void ) (inherits from SFRResponder)
Get the virtual region with the coordinate of content region.
SFXRectangle GetVirtualWorld( Void ) (inherits from SFRResponder)
Get the virtual region
Void GroupMove( SFXSizeConstRef size ) (inherits from SFRResponder)
Move all the responders grouped together.
Void GroupScroll( SFXSizeConstRef size ) (inherits from SFRResponder)
Scroll all the virtual regions of responders grouped together.
Void GroupSelect( Void ) (inherits from SFRResponder)
Select all the responders grouped together. ( move all of them to the most foreground )
Void GroupStatusEnable( Bool enable ) (inherits from SFRResponder)
Set the " Enable / Disable " status of all the responders grouped together.
Void GroupStatusVisible( Bool visible ) (inherits from SFRResponder)
Set the " Visible / Invisible " status of all the responders grouped together.
Void InvalidateBase( Void ) (inherits from SFRResponder)
Register an area in the base region to be redrawn.
Void InvalidateBase( SFXRectangleConstRef rect ) (inherits from SFRResponder)
Register an area in the base region to be redrawn.
Void InvalidateContent( Void ) (inherits from SFRResponder)
Register an area in the content region to be redrawn.
Void InvalidateContent( SFXRectangleConstRef rect ) (inherits from SFRResponder)
Register an area in the content region to be redrawn.
Void InvalidateVirtual( Void ) (inherits from SFRResponder)
Register an area in the virtual region to be redrawn.
Void InvalidateVirtual( SFXRectangleConstRef rect ) (inherits from SFRResponder)
Register an area in the virtual region to be redrawn.
Bool Invoke( SFXEventConstRef event ) (inherits from SFRResponder)
Send the specified event.
Void Move( SFXSizeConstRef size ) (inherits from SFRResponder)
Move the responder.
Bool MoveDownHandler( Void ) (inherits from SFRResponder)
[Handler] Move the responder down.
Bool MoveLeftHandler( Void ) (inherits from SFRResponder)
[Handler] Move the responder left.
Bool MoveRightHandler( Void ) (inherits from SFRResponder)
[Handler] Move the responder right.
Bool MoveUpHandler( Void ) (inherits from SFRResponder)
[Handler] Move the responder up.
SFCError RegisterHandler( HandlerEnum timing , SFRHandlerSPP spp , VoidPtr ref ) (inherits from SFRHandler)
Register a handler.
SFCError RegisterHandler( SFCEventEnum type , HandlerEnum timing , SFRHandlerSPP spp , VoidPtr ref ) (inherits from SFRHandler)
Register a handler.
SFCError RegisterHandler( SFCEventEnum type , UInt16 p16 , HandlerEnum timing , SFRHandlerSPP spp , VoidPtr ref ) (inherits from SFRHandler)
Register a handler.
SFCError RegisterHandler( SFCEventEnum type , UInt16 bp16 , UInt16 ep16 , HandlerEnum timing , SFRHandlerSPP spp , VoidPtr ref ) (inherits from SFRHandler)
Register a handler.
SFCError RegisterHandler( SFCEventEnum btype , SFCEventEnum etype , HandlerEnum timing , SFRHandlerSPP spp , VoidPtr ref ) (inherits from SFRHandler)
Register a handler.
SFCError RegisterHandler( SFCEventEnum btype , SFCEventEnum endType , UInt16 p16 , HandlerEnum timing , SFRHandlerSPP spp , VoidPtr ref ) (inherits from SFRHandler)
Register a handler.
SFCError RegisterHandler( SFCEventEnum btype , SFCEventEnum etype , UInt16 bp16 , UInt16 ep16 , HandlerEnum timing , SFRHandlerSPP spp , VoidPtr ref ) (inherits from SFRHandler)
Register a handler.
SFCError RegisterTracer( BehaviorType behavior , TracerEnum trace ) (inherits from SFRTracer)
Register the tracer.
SFCError RegisterTracer( SFCEventEnum type , BehaviorType behavior , TracerEnum trace ) (inherits from SFRTracer)
Register the tracer.
SFCError RegisterTracer( SFCEventEnum type , UInt16 p16 , BehaviorType behavior , TracerEnum trace ) (inherits from SFRTracer)
Register the tracer.
SFCError RegisterTracer( SFCEventEnum type , UInt16 bgnP16 , UInt16 endP16 , BehaviorType behavior , TracerEnum trace ) (inherits from SFRTracer)
Register the tracer.
SFCError RegisterTracer( SFCEventEnum bgnType , SFCEventEnum endType , BehaviorType behavior , TracerEnum trace ) (inherits from SFRTracer)
Register the tracer.
SFCError RegisterTracer( SFCEventEnum bgnType , SFCEventEnum endType , UInt16 p16 , BehaviorType behavior , TracerEnum trace ) (inherits from SFRTracer)
Register the tracer.
SFCError RegisterTracer( SFCEventEnum bgnType , SFCEventEnum endType , UInt16 bgnP16 , UInt16 endP16 , BehaviorType behavior , TracerEnum trace ) (inherits from SFRTracer)
Register the tracer.
Void Scroll( SFXSizeConstRef size ) (inherits from SFRResponder)
Scroll the virtual region.
Bool ScrollDownHandler( Void ) (inherits from SFRResponder)
[Handler] Scroll the virtual region down.
Bool ScrollLeftHandler( Void ) (inherits from SFRResponder)
[Handler] Scroll the virtual region left.
Bool ScrollRightHandler( Void ) (inherits from SFRResponder)
[Handler] Scroll the virtual region right.
Bool ScrollUpHandler( Void ) (inherits from SFRResponder)
[Handler] Scroll the virtual region up.
Bool SelectHandler( Void ) (inherits from SFRResponder)
[Handler] Set the target status of a responder to true.
Void SetContentBound( SFXRectangleConstRef rect ) (inherits from SFRResponder)
Set the content region with the coordinate of base region.
Void SetFrameMargin( SFXMarginConstRef param ) (inherits from SFRResponder)
Set the margin between base and content region(in pixels).
Void SetMoveInterval( SInt16 interval ) (inherits from SFRResponder)
Set the move interval in pixels.
Void SetMoveMargin( SInt16 margin ) (inherits from SFRResponder)
Set the margin pixels of content region ( or virtual region if set with the parent responder ) where the child responder cannot move.
Void SetReference( VoidPtr ref ) (inherits from SFRResponder)
Set the reference value.
Void SetScrollInterval( SInt16 interval ) (inherits from SFRResponder)
Set the scroll interval in pixels.
Void SetStatusTarget( Bool target ) (inherits from SFRResponder)
Set the value of " Target / Not-Target " flag.
Void SetTranslate( SFXGridConstRef point ) (inherits from SFRResponder)
Set the origin coordinate of virtual region with the coordinate of content region.
Void SetTravelMargin( SInt16 margin ) (inherits from SFRResponder)
Set the margin pixels of content region inside which the rectangle in the virtual region but outside the content region should be automatically scrolled by using the SFRResponder::Travel function.
Void SetVirtualBound( SFXRectangleConstRef rect ) (inherits from SFRResponder)
Set the virtual region with the coordinate of content region.
Void Travel( SFXRectangleConstRef rect ) (inherits from SFRResponder)
Scroll the virtual region of responder so that the specified rectangle can get into the content region.
Void UnregisterHandler( HandlerEnum timing ) (inherits from SFRHandler)
Unregister the registered handler.
Void UnregisterHandler( SFCEventEnum type , HandlerEnum timing ) (inherits from SFRHandler)
Unregister the registered handler.
Void UnregisterHandler( SFCEventEnum type , UInt16 p16 , HandlerEnum timing ) (inherits from SFRHandler)
Unregister the registered handler.
Void UnregisterHandler( SFCEventEnum type , UInt16 bgnP16 , UInt16 endP16 , HandlerEnum timing ) (inherits from SFRHandler)
Unregister the registered handler.
Void UnregisterHandler( SFCEventEnum bgnType , SFCEventEnum endType , HandlerEnum timing ) (inherits from SFRHandler)
Unregister the registered handler.
Void UnregisterHandler( SFCEventEnum bgnType , SFCEventEnum endType , UInt16 p16 , HandlerEnum timing ) (inherits from SFRHandler)
Unregister the registered handler.
Void UnregisterHandler( SFCEventEnum bgnType , SFCEventEnum endType , UInt16 bgnP16 , UInt16 endP16 , HandlerEnum timing ) (inherits from SFRHandler)
Unregister the registered handler.
Void UnregisterTracer( Void ) (inherits from SFRTracer)
Unregister the tracer.
Void UnregisterTracer( SFCEventEnum type ) (inherits from SFRTracer)
Unregister the tracer.
Void UnregisterTracer( SFCEventEnum type , UInt16 p16 ) (inherits from SFRTracer)
Unregister the tracer.
Void UnregisterTracer( SFCEventEnum type , UInt16 bgnP16 , UInt16 endP16 ) (inherits from SFRTracer)
Unregister the tracer.
Void UnregisterTracer( SFCEventEnum bgnType , SFCEventEnum endType ) (inherits from SFRTracer)
Unregister the tracer.
Void UnregisterTracer( SFCEventEnum bgnType , SFCEventEnum endType , UInt16 p16 ) (inherits from SFRTracer)
Unregister the tracer.
Void UnregisterTracer( SFCEventEnum bgnType , SFCEventEnum endType , UInt16 bgnP16 , UInt16 endP16 ) (inherits from SFRTracer)
Unregister the tracer.
Protected Functions
Bool GetAppearanceTransparent( Void ) (inherits from SFRResponder)
Get the value of APPEARANCE_TRANSPARENT flag.
Bool GetPropertyClosable( Void ) (inherits from SFRResponder)
Get the value of PROPERTY_CLOSABLE flag.
Bool GetPropertyDirect( Void ) (inherits from SFRResponder)
Get the value of PROPERTY_DIRECT flag.
Bool GetPropertyMovable( Void ) (inherits from SFRResponder)
Get the value of PROPERTY_MOVABLE flag.
Bool GetPropertyScrollable( Void ) (inherits from SFRResponder)
Get the value of PROPERTY_SCROLLABLE flag.
Bool GetPropertySelect( Void ) (inherits from SFRResponder)
Get the value of PROPERTY_SELECT flag.
Bool GetPropertyTravel( Void ) (inherits from SFRResponder)
Get the value of PROPERTY_TRAVEL flag.
HandlerRecConstPtr SearchHandler( SFXEventConstRef event , HandlerEnum timing ) (inherits from SFRHandler)
Search for the handler that matches the specified event.
TracerRecConstPtr SearchTracer( SFXEventConstRef event ) (inherits from SFRTracer)
Search for the tracer that matches the specified event.
Types
BehaviorEnum (inherits from SFRResponder)
Constant that represents the behavior of responder.
HandlerEnum (inherits from SFRHandler)
Constant that represents the timing to call the handler.
SFRHandlerSPP (inherits from SFRHandler)
Type of the callback function.
TracerEnum (inherits from SFRTracer)
Constant that represents the trace order.
TracerTraceMPP (inherits from SFRTracer)
Type of the callback function.

SFRTabPane::SFRTabPane
Constructor of the SFRTabPane class.
[ public ]
SFRTabPane(
    SFRTabControlPtr director                     // parent responder
    SFXWideStringConstRef title                   // title text
    BehaviorType behavior = BEHAVIOR_SFRTABPANE   // behavior
    SFCType attribute = ATTRIBUTE_SFRTABPANE      // attribute
);

Reference

SFRTabPane::~SFRTabPane


SFRTabPane::~SFRTabPane
Destructor of the SFRTabPane class.
[ public, virtual ]
~SFRTabPane(Void);

Reference

SFRTabPane::SFRTabPane


SFRTabPane::GetDirector
Get the parent responder.
[ public, const ]
SFRTabControlPtr GetDirector(Void);

Description

The parent responder must be the tab control.

Reference

SFRResponder::GetDirector


SFRTabPane::GetTitle
Get the title of the tab pane.
[ public, const ]
SFXWideStringConstRef GetTitle(Void);

Reference

SFRTabPane::SetTitle


SFRTabPane::Group
Group the other responder(s). [Invalid]
[ public, virtual ]
Void Group(
    SFRResponderPtr with   // responder
);

Reference

SFRResponder::Group | SFRResponder::Ungroup


SFRTabPane::Select
Select the pane.
[ public, virtual ]
Void Select(Void);

Description

To select a tab pane which related to the tab control, is as same as to show a specific tab.

Example

SHow the tab of 2nd page.

SFRTabControlPtr  tab;
SFRTabPanePtr     pane;

tab = new SFRTabControl(window, SFXRectangle(5, 5, 100, 100));
new SFRTabPane(tab, "page1");
pane = new SFRTabPane(tab, "page2");
new SFRTabPane(tab, "page3");
pane->Select();

Reference

SFRResponder::Select


SFRTabPane::SetBaseBound
Set the coordinate of base region. [This function is not available.]
[ public, virtual ]
Void SetBaseBound(
    SFXRectangleConstRef rect   // base bound
);

Reference

SFRResponder::GetBaseBound | SFRResponder::SetBaseBound


SFRTabPane::SetStatusEnable
Set the Enable / Disable status.
[ public, virtual ]
Void SetStatusEnable(
    Bool enable   // status
);

Example

Set the tab of 2nd page to disabled.

SFRTabControlPtr  tab;
SFRTabPanePtr     pane;

tab = new SFRTabControl(window, SFXRectangle(5, 5, 100, 100));
new SFRTabPane(tab, "page1");
pane = new SFRTabPane(tab, "page2");
new SFRTabPane(tab, "page3");
pane->SetStatusEnable(false);

Reference

SFRResponder::GetStatusEnable | SFRResponder::SetStatusEnable | SFRResponder::GetInheritEnable


SFRTabPane::SetStatusFocus
Set the Focused / Unfocused status.
[ public, virtual ]
Void SetStatusFocus(
    Bool focus   // status
);

Description

The focused tab is always at the front, and seleted automatically.

Example

Focus the tab of 2nd page.

SFRTabControlPtr  tab;
SFRTabPanePtr     pane;

tab = new SFRTabControl(window, SFXRectangle(5, 5, 100, 100));
new SFRTabPane(tab, "page1");
pane = SFRTabPane(tab, "page2");
new SFRTabPane(tab, "page3");
pane->SetStatusFocus(true);

Reference

SFRResponder::GetStatusFocus | SFRResponder::SetStatusFocus | SFRResponder::GetInheritFocus


SFRTabPane::SetStatusVisible
Set the Visible / Invisible status.
[ public, virtual ]
Void SetStatusVisible(
    Bool visible   // status
);

Description

Set the specific tab to Visible / Invisible.

Example

Set the tab of 2nd page to invisible.

SFRTabControlPtr  tab;
SFRTabPanePtr     pane;

tab = new SFRTabControl(window, SFXRectangle(5, 5, 100, 100));
new SFRTabPane(tab, "page1");
pane = new SFRTabPane(tab, "page2");
new SFRTabPane(tab, "page3");
pane->SetStatusVisible(false);

Reference

SFRResponder::GetStatusVisible | SFRResponder::SetStatusVisible | SFRResponder::GetInheritVisible


SFRTabPane::SetTitle
Set the title.
[ public ]
Void SetTitle(
    SFXWideStringConstRef title   // title
);

Example

Create a tab pane with the title "sample", and modify the title into "changed".

SFRTabControlPtr  tab;
SFRTabPanePtr     pane;

tab = new SFRTabControl(window, SFXRectangle(5, 5, 100, 100));
pane = new SFRTabPane(tab, "sample");
pane->SetTitle("changed");

Reference

SFRTabPane::GetTitle


SFRTabPane::Ungroup
Ungroup the responder group. [This function is not available.]
[ public, virtual ]
Void Ungroup(Void);

Reference

SFRResponder::Group | SFRResponder::Ungroup