Underline color displayed on tab menu item that is associated with active view or tab sheet
Member of PRIM_MD.Tab (PRIM_MD.Tab)
Data Type - Color
SelectionColor sets the underline color displayed on tab menu item that is associated with active view or tab sheet.
This example shows the how the SelectionColor is used with Tabitem View property to display the selection color.
Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME) Layoutmanager(#LayoutPage) Define_Com Class(#PRIM_TBLO) Name(#LayoutPage) Define_Com Class(#PRIM_TBLO.Row) Name(#LayoutPageRow1) Displayposition(1) Parent(#LayoutPage) Define_Com Class(#PRIM_TBLO.Column) Name(#LayoutPageColumn1) Displayposition(1) Parent(#LayoutPage) Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutPageItem1) Column(#LayoutPageColumn1) Manage(#Menu) Parent(#LayoutPage) Row(#LayoutPageRow1) Sizing(FitToWidth) Alignment(TopCenter) Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutPageItem2) Column(#LayoutPageColumn1) Manage(#ViewContainer) Margintop(48) Parent(#LayoutPage) Row(#LayoutPageRow1) Define_Com Class(#PRIM_TBLO) Name(#LayoutVeiw1) Define_Com Class(#PRIM_TBLO.Row) Name(#LayoutVeiw1Row1) Displayposition(1) Parent(#LayoutVeiw1) Define_Com Class(#PRIM_TBLO.Column) Name(#LayoutVeiw1Column1) Displayposition(1) Parent(#LayoutVeiw1) Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutVeiw1Item1) Column(#LayoutVeiw1Column1) Manage(#LabelView1) Parent(#LayoutVeiw1) Row(#LayoutVeiw1Row1) Sizing(ContentWidthAndHeight) Define_Com Class(#PRIM_TBLO) Name(#LayoutVeiw2) Define_Com Class(#PRIM_TBLO.Row) Name(#LayoutVeiw2Row1) Displayposition(1) Parent(#LayoutVeiw2) Define_Com Class(#PRIM_TBLO.Column) Name(#LayoutVeiw2Column1) Displayposition(1) Parent(#LayoutVeiw2) Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutVeiw2Item1) Column(#LayoutVeiw2Column1) Manage(#LabelView2) Parent(#LayoutVeiw2) Row(#LayoutVeiw2Row1) Sizing(ContentWidthAndHeight) Define_Com Class(#PRIM_TBLO) Name(#LayoutVeiw3) Define_Com Class(#PRIM_TBLO.Row) Name(#LayoutVeiw3Row1) Displayposition(1) Parent(#LayoutVeiw3) Define_Com Class(#PRIM_TBLO.Column) Name(#LayoutVeiw3Column1) Displayposition(1) Parent(#LayoutVeiw3) Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutVeiw3Item1) Column(#LayoutVeiw3Column1) Manage(#LabelView3) Parent(#LayoutVeiw3) Row(#LayoutVeiw3Row1) Sizing(ContentWidthAndHeight) Define_Com Class(#PRIM_MD.Tab) Name(#Menu) Displayposition(1) Height(50) Parent(#COM_OWNER) Tabposition(1) Selectioncolor(White) Themedrawstyle('MediumTitle') Width(1200) Define_Com Class(#PRIM_MD.TabItem) Name(#TabItem1) Caption('View 1') Displayposition(1) Height(50) Left(0) Parent(#Menu) Tabposition(1) Top(0) View(#View1) Width(113) Define_Com Class(#PRIM_MD.TabItem) Name(#TabItem2) Caption('View 2') Displayposition(2) Height(50) Left(113) Parent(#Menu) Tabposition(2) Top(0) View(#View2) Width(113) Define_Com Class(#PRIM_MD.TabItem) Name(#TabItem3) Caption('View 3') Displayposition(3) Height(50) Left(226) Parent(#Menu) Tabposition(3) Top(0) View(#View3) Width(113) Define_Com Class(#prim_md.ViewContainer) Name(#ViewContainer) Parent(#COM_OWNER) Displayposition(2) Tabposition(2) Top(48) Height(752) Width(1200) Define_Com Class(#PRIM_View) Name(#View1) Parent(#ViewContainer) Displayposition(3) Tabposition(3) Height(752) Width(1200) Top(247) Layoutmanager(#LayoutVeiw1) Define_Com Class(#PRIM_View) Name(#View2) Parent(#ViewContainer) Displayposition(2) Tabposition(2) Height(752) Width(1200) Layoutmanager(#LayoutVeiw2) Left(800) Define_Com Class(#PRIM_View) Name(#View3) Parent(#ViewContainer) Displayposition(1) Tabposition(1) Height(752) Left(400) Width(1200) Layoutmanager(#LayoutVeiw3) Define_Com Class(#prim_md.Label) Name(#LabelView1) Parent(#View1) Caption('View 1') Displayposition(1) Tabposition(1) Themedrawstyle('Title') Height(46) Left(546) Top(353) Width(109) Define_Com Class(#prim_md.Label) Name(#LabelView2) Parent(#View2) Caption('View 2') Displayposition(1) Tabposition(1) Themedrawstyle('Title') Height(46) Left(546) Top(353) Width(109) Define_Com Class(#prim_md.Label) Name(#LabelView3) Parent(#View3) Caption('View 3') Displayposition(1) Tabposition(1) Themedrawstyle('Title') Height(46) Left(546) Top(353) Width(109) Evtroutine Handling(#COM_OWNER.Initialize) #View1.Show Endroutine End_Com
V14SP2 April 2018