You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Table Layout Item - Manage Property
Defines the visual component to be managed
Member of Table Layout Item (PRIM_TBLO.Item)
Data Type - PRIM_CTRL - Base class for all visual controls

Details


Reference to the control that will be manipulated by the layout item.
The IDE will manage layout definition through the use of the designer. This code is provided for reference purposes.

Example


Simple 3x3 table layout with a button positioned in the TopLeft of row 1, column 1.
Define_Com Class(#PRIM_TBLO) Name(#TableLayout)
Define_Com Class(#PRIM_TBLO.Column) Name(#Column1) Displayposition(1) Parent(#TableLayout)
Define_Com Class(#PRIM_TBLO.Column) Name(#Column2) Displayposition(2) Parent(#TableLayout)
Define_Com Class(#PRIM_TBLO.Column) Name(#Column3) Displayposition(3) Parent(#TableLayout)
Define_Com Class(#PRIM_TBLO.Row) Name(#Row1) Displayposition(1) Parent(#TableLayout)
Define_Com Class(#PRIM_TBLO.Row) Name(#Row2) Displayposition(2) Parent(#TableLayout)
Define_Com Class(#PRIM_TBLO.Row) Name(#Row3) Displayposition(3) Parent(#TableLayout)
Define_Com Class(#PRIM_TBLO.Item) Name(#ButtonItem1) Alignment(TopLeft) Column(#Column1) Manage(#Button) Parent(#TableLayout) Row(#Row1) Sizing(None)

See also

All Component Classes
Technical Reference

  • No labels