Table Layout Item Animation (PRIM_ANIM.TableLayoutItem)

Animation the properties of a table layout item

Ancestors - Animation Item (PRIM_ANIM.AnimationItem) Object (PRIM_OBJT)

Details

The Table Layout Item animation changes the properties of the managed Layout Item
 
When the animation completes, the Layout Item properties will be the same as those specified.

Example

In this example, the two panels change places.
Begin_Com Role(*EXTENDS #PRIM_WEB) Layoutmanager(#TableLayout) Theme(#SYS_THEME<2015Green>) Height(528) Width(1049)
 
Define_Com Class(#PRIM_TBLO) Name(#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.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.Item) Name(#LayoutItem1) Column(#Column1) Manage(#Panel1) Parent(#TableLayout) Row(#Row1)
Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutItem2) Column(#Column2) Manage(#Panel2) Parent(#TableLayout) Row(#Row2) Columnspan(2) Rowspan(2)
 
Define_Com Class(#PRIM_PANL) Name(#Panel1) Displayposition(1) Height(176) Left(0) Parent(#COM_OWNER) Tabposition(1) Tabstop(False) Top(0) Width(350) Themedrawstyle('LightTitle')
Define_Com Class(#PRIM_PANL) Name(#Panel2) Displayposition(2) Height(352) Left(350) Parent(#COM_OWNER) Tabposition(2) Tabstop(False) Top(176) Width(699) Themedrawstyle('DarkTitle')
 
Define_Com Class(#prim_anim) Name(#Animation)
Define_Com Class(#prim_anim.TableLayoutItem) Name(#Item1) Column(#Column2) Row(#Row2) Rowspan(2) Columnspan(2) Parent(#Animation) Manage(#LayoutItem1)
Define_Com Class(#prim_anim.TableLayoutItem) Name(#Item2) Column(#Column1) Row(#Row1) Rowspan(1) Columnspan(1) Parent(#Animation) Manage(#LayoutItem2)
 
   Evtroutine Handling(#Com_owner.Click)
 
      #Animation.Start
 
   Endroutine
 
End_Com
 
 

Properties

NameDescription
AlignmentAlignment to be applied to the layout item
ColumnReference to a column to be applied to the layout item
ColumnSpanColumnSpan to be applied to the layout item
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)
DurationNumber of milliseconds to take to complete the animation Inherited from Animation Item (PRIM_ANIM.AnimationItem)
FlowFlow to be applied to the layout item
ManageReference to the control managed by the layout item
MarginBottomMarginBottom to be applied to the layout item
MarginLeftMarginLeft to be applied to the layout item
MarginRightMarginRight to be applied to the layout item
MarginTopMarginTop to be applied to the layout item
NameName identifies the component Inherited from Object (PRIM_OBJT)
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentReference to the animation of which this item is a part Inherited from Animation Item (PRIM_ANIM.AnimationItem)
RowReference to a row to be applied to the layout item
RowSpanRowSpan to be applied to the layout item
SizingSizing to be applied to the layout item
StartTimeNumber of milliseconds to wait before starting the animation Inherited from Animation Item (PRIM_ANIM.AnimationItem)

Events

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from Animation Item (PRIM_ANIM.AnimationItem)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Animation Item (PRIM_ANIM.AnimationItem)

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2