Tab Folder - LayoutPriorityButton Property

Location of the layout priority button

Member of Tab Folder (PRIM_TAB)

Data Type - Boolean

Details

The LayoutPriorityButton property controls the appearance of layout buttons.
 
When True, DockPositions that conflict for space can have their priorities changed by the user.
 
This allows the bottom dock position to use space otherwise used by the left and right dock positions, and vice versa.

Example

Priority buttons in use.  Click the double arrow icons to see the effect.
Begin_Com Role(*EXTENDS #PRIM_FORM) Caption('Docking Framework Sample') Clientheight(454) Clientwidth(912) Height(493) Left(188) Top(205) Width(928) 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) Componentversion(2) Displayposition(1) Height(454) Left(0) Parent(#COM_OWNER) Tabposition(1) Top(0) Width(912) Righttabwidth(197) Lefttabwidth(200) Bottomtabheight(123) Bottomcloseposition(TabHeader) Leftcloseposition(TabHeader) Rightcloseposition(TabHeader) Closeposition(TabHeader) Leftallowautohide(False) Bottomlayoutpriority(3) Leftlayoutpriority(4) Rightlayoutpriority(1) Toplayoutpriority(2) Layoutprioritybutton(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet1) Caption('Page1') Displayposition(1) Height(302) Left(0) Parent(#Tab1) Tabposition(1) Tabstop(False) Top(24) Width(200) Dockposition(Left) Dockclosebutton(True) Dockallowundock(True) Opened(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet2) Caption('Page2') Displayposition(2) Height(302) Left(0) Parent(#Tab1) Tabposition(2) Tabstop(False) Top(24) Width(200) Dockposition(Left) Dockclosebutton(True) Dockallowundock(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet3) Caption('Page3') Displayposition(1) Height(430) Left(0) Parent(#Tab1) Tabposition(1) Tabstop(False) Top(24) Width(197) Dockposition(Right) Dockclosebutton(True) Dockallowundock(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet4) Caption('Page4') Displayposition(2) Height(430) Left(0) Parent(#Tab1) Tabposition(2) Tabstop(False) Top(24) Width(197) Dockposition(Right) Dockclosebutton(True) Dockallowundock(True) Opened(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet5) Caption('Page5') Displayposition(1) Height(99) Left(0) Parent(#Tab1) Tabposition(1) Tabstop(False) Top(24) Width(710) Dockposition(Bottom) Dockallowedpositions(Left+Bottom+Right) Dockclosebutton(True) Dockallowundock(True) Opened(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet6) Caption('Page6') Displayposition(2) Height(99) Left(0) Parent(#Tab1) Tabposition(2) Tabstop(False) Top(24) Width(710) Dockallowedpositions(Left+Bottom+Right) Dockposition(Bottom) Dockclosebutton(True) Dockallowundock(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet7) Caption('Page7') Displayposition(1) Height(302) Left(205) Parent(#Tab1) Tabposition(10) Tabstop(False) Top(24) Width(505) Dockallowedpositions(Left+Bottom+Right+Center) Dockallowundock(True) Dockclosebutton(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet8) Caption('Page8') Displayposition(10) Height(302) Left(205) Parent(#Tab1) Tabposition(11) Tabstop(False) Top(24) Width(505) Dockclosebutton(True) Dockallowedpositions(Left+Bottom+Right+Center) Dockallowundock(True)
   Define_Com Class(#PRIM_TBSH) Name(#Sheet9) Caption('Page9') Displayposition(11) Height(302) Left(205) Parent(#Tab1) Tabposition(1) Tabstop(False) Top(24) Width(505) Dockclosebutton(True) Dockallowedpositions(Left+Bottom+Right+Center) Dockallowundock(True)
 
End_Com
 

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2