Tab Sheet - DockGroup Property

Group to which the sheet belongs

Member of Tab Sheet (PRIM_TBSH)

Data Type - Integer

Details

The DockGroup property defines the grouping of tabsheets within the DockPosition.

Example

In this example, the 4 sheets in the bottom DockPosition are split in to two groups.
 
The DockGroupButton property has been set to True allowing the sheets to be moved between groups.
Begin_Com Role(*EXTENDS #PRIM_FORM) Caption('Docking Framework Sample') Clientheight(416) Clientwidth(1080) Height(455) Left(116) Top(223) Width(1096) Layoutmanager(#TableLayout1)
 
   Define_Com Class(#PRIM_TBLO) Name(#TableLayout1)
   Define_Com Class(#PRIM_TBLO.Column) Name(#Column1) Displayposition(1) Parent(#TableLayout1)
   Define_Com Class(#PRIM_TBLO.Row) Name(#Row1) Displayposition(1) Parent(#TableLayout1)
   Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutItem1) Column(#Column1) Manage(#Tab1) Parent(#TableLayout1) Row(#Row1)
 
   Define_Com Class(#PRIM_TAB) Name(#Tab1) Bottomlayoutpriority(4) Componentversion(2) Displayposition(1) Height(416) Left(0) Leftlayoutpriority(1) Parent(#COM_OWNER) Rightlayoutpriority(2) Tabposition(1) Top(0) Toplayoutpriority(3) Width(1080) Righttabwidth(197) Lefttabwidth(125) Bottomtabheight(167) Bottomcloseposition(TabHeader) Leftcloseposition(TabHeader) Rightcloseposition(TabHeader) Closeposition(TabHeader)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet1) Caption('Page1') Displayposition(1) Height(392) Left(0) Parent(#Tab1) Tabposition(1) Tabstop(False) Top(24) Width(125) Dockposition(Left) Dockclosebutton(True) Dockallowundock(True) Opened(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet2) Caption('Page2') Displayposition(2) Height(392) Left(0) Parent(#Tab1) Tabposition(2) Tabstop(False) Top(24) Width(125) Dockposition(Left) Dockclosebutton(True) Dockallowundock(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet3) Caption('Page3') Displayposition(1) Height(143) Left(0) Parent(#Tab1) Tabposition(2) Tabstop(False) Top(24) Width(475) Dockposition(Bottom) Dockclosebutton(True) Dockallowundock(True) Dockallowedpositions(Bottom) Dockgroupbutton(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet4) Caption('Page4') Displayposition(2) Height(143) Left(0) Parent(#Tab1) Tabposition(1) Tabstop(False) Top(24) Width(475) Dockposition(Bottom) Dockclosebutton(True) Dockallowundock(True) Opened(True) Dockgroupbutton(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet5) Caption('Page5') Displayposition(1) Height(143) Left(0) Parent(#Tab1) Tabposition(2) Tabstop(False) Top(24) Width(470) Dockposition(Bottom) Dockallowedpositions(Left+Bottom+Right) Dockclosebutton(True) Dockgroup(2) Dockgroupbutton(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet6) Caption('Page6') Displayposition(2) Height(143) Left(0) Parent(#Tab1) Tabposition(1) Tabstop(False) Top(24) Width(470) Dockallowedpositions(Left+Bottom+Right) Dockposition(Bottom) Dockclosebutton(True) Dockgroup(2) Dockgroupbutton(True) Opened(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet7) Caption('Page7') Displayposition(1) Height(220) Left(130) Parent(#Tab1) Tabposition(12) Tabstop(False) Top(24) Width(950) Dockclosebutton(True) Dockallowedpositions(Left+Bottom+Right+Center)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet8) Caption('Page8') Displayposition(12) Height(220) Left(130) Parent(#Tab1) Tabposition(13) Tabstop(False) Top(24) Width(950) Dockclosebutton(True) Dockallowedpositions(Left+Bottom+Right+Center)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet9) Caption('Page9') Displayposition(13) Height(220) Left(130) Parent(#Tab1) Tabposition(1) Tabstop(False) Top(24) Width(950) Dockclosebutton(True) Dockallowedpositions(Left+Bottom+Right+Center)
 
End_Com
 
 

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2