Table Layout Row (PRIM_TBLO.Row)

Table Layout Row

Ancestors - Table Horizontal Division (PRIM_TBLO.HorizontalDivision) Table Division (PRIM_TBLO.Division) Object (PRIM_OBJT)

Details

A Row defines a horizontal division in a Table Layout.
 
The Height and Units properties define the extent of the Row.

Example

In the example below there are 3 rows. The first is 200 pixels high. The two remaining rows are proportional and share the remaining space equally.
Begin_Com Role(*EXTENDS #PRIM_WEB) Height(457) Width(1169) Layoutmanager(#TableLayout)
 
   Define_Com Class(#PRIM_VS.Style) Name(#Style1) Backgroundbrush(#Brush1)
   Define_Com Class(#PRIM_VS.SolidBrush) Name(#Brush1) Color(Theme300)
 
   Define_Com Class(#PRIM_VS.Style) Name(#Style2) Backgroundbrush(#Brush2)
   Define_Com Class(#PRIM_VS.SolidBrush) Name(#Brush2) Color(Theme500)
 
   Define_Com Class(#PRIM_VS.Style) Name(#Style3) Backgroundbrush(#Brush3)
   Define_Com Class(#PRIM_VS.SolidBrush) Name(#Brush3) Color(Theme700)
 
   Define_Com Class(#prim_tblo) Name(#TableLayout)
   Define_Com Class(#Prim_tblo.Row) Name(#Row1) Parent(#TableLayout) Units(Pixels) Height(200) Displayposition(1)
   Define_Com Class(#Prim_tblo.Row) Name(#Row2) Parent(#TableLayout) Displayposition(2)
   Define_Com Class(#Prim_tblo.Row) Name(#Row3) Parent(#TableLayout) Displayposition(3)
   Define_Com Class(#PRIM_TBLO.Column) Name(#Column1) Displayposition(1) Parent(#TableLayout)
   Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutItem1) Alignment(TopLeft) Column(#Column1) Flow(Down) Manage(#Label1) Parent(#TableLayout) Row(#Row1)
   Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutItem2) Alignment(TopLeft) Column(#Column1) Flow(Down) Manage(#Label2) Parent(#TableLayout) Row(#Row2)
   Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutItem3) Alignment(TopLeft) Column(#Column1) Flow(Down) Manage(#Label3) Parent(#TableLayout) Row(#Row3)
 
   Define_Com Class(#PRIM_LABL) Name(#Label1) Caption('200 Pixels') Displayposition(1) Ellipses(Word) Height(200) Left(0) Parent(#COM_OWNER) Tabposition(1) Tabstop(False) Top(0) Verticalalignment(Center) Width(1169) Style(#Style1) Alignment(Center)
   Define_Com Class(#PRIM_LABL) Name(#Label2) Caption('50% of remaining height') Displayposition(2) Ellipses(Word) Height(129) Left(0) Parent(#COM_OWNER) Tabposition(2) Tabstop(False) Top(200) Verticalalignment(Center) Width(1169) Style(#Style2) Alignment(Center)
   Define_Com Class(#PRIM_LABL) Name(#Label3) Caption('50% of remaining height') Displayposition(3) Ellipses(Word) Height(128) Left(0) Parent(#COM_OWNER) Tabposition(3) Tabstop(False) Top(329) Verticalalignment(Center) Width(1169) Style(#Style3) Alignment(Center)
 
End_Com

Properties

NameDescription
ComponentClassNameComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembersComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternNameComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTagGeneric space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentTypeComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeNameComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
DisplayPositionRelative position of the column
HeightHeight of the row in pixels or as a proportion
MaxHeightMaximum height of the row when the container is resized
MinHeightMinimum height of the control when the container is resized
NameName identifies the component Inherited from Object (PRIM_OBJT)
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentReference to the table containing the row
UnitsFixed height or proportion of the available space

Events

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from Table Layout Row (PRIM_TBLO.Row)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Table Layout Row (PRIM_TBLO.Row)

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2