Animation the properties of a table layout item
Ancestors - Animation Item (PRIM_ANIM.AnimationItem) Object (PRIM_OBJT)
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.
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
Name | Description |
---|---|
Alignment | Alignment to be applied to the layout item |
Column | Reference to a column to be applied to the layout item |
ColumnSpan | ColumnSpan to be applied to the layout item |
ComponentClassName | ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT) |
ComponentMembers | ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT) |
ComponentPatternName | ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT) |
ComponentTag | Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT) |
ComponentType | ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT) |
ComponentTypeName | ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT) |
Duration | Number of milliseconds to take to complete the animation Inherited from Animation Item (PRIM_ANIM.AnimationItem) |
Flow | Flow to be applied to the layout item |
Manage | Reference to the control managed by the layout item |
MarginBottom | MarginBottom to be applied to the layout item |
MarginLeft | MarginLeft to be applied to the layout item |
MarginRight | MarginRight to be applied to the layout item |
MarginTop | MarginTop to be applied to the layout item |
Name | Name identifies the component Inherited from Object (PRIM_OBJT) |
Owner | Owner owns this component Inherited from Object (PRIM_OBJT) |
Parent | Reference to the animation of which this item is a part Inherited from Animation Item (PRIM_ANIM.AnimationItem) |
Row | Reference to a row to be applied to the layout item |
RowSpan | RowSpan to be applied to the layout item |
Sizing | Sizing to be applied to the layout item |
StartTime | Number of milliseconds to wait before starting the animation Inherited from Animation Item (PRIM_ANIM.AnimationItem) |
Name | Description |
---|---|
CreateInstance | CreateInstance is signalled when an instance of a component is created Inherited from Animation Item (PRIM_ANIM.AnimationItem) |
DestroyInstance | DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Animation Item (PRIM_ANIM.AnimationItem) |
Febuary 18 V14SP2