List Reusable Part Column Current Item - Part Property

Reference to the part instance used in the cell

Member of List Reusable Part Column Current Item (PRIM_LIST.PartCurrentItem)

Data Type - PRIM_PANL - Container for other components


The Part property is a Reference to the instance of the reusable part created for the item.
Having access to the instance allows user defined code to be executed.
As this is a generic property defined as a PRIM_PANL, it will be necessary to cast the property to the correct class to access specific features.


In this example, immediately after the ADD_ENTRY, the newly created part instance is accessed to run a user defined Prepare method.
Add_Entry To_List(#List)
(#ColumnPart.CurrentItem.Part *As [#MyPartClassName]).Prepare

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020