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

Compare with Current View Page History

Version 1 Next »

Tile - Add Method
Add a new design instance
Member of Tile (PRIM_TILE)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

PRIM_TILE.TileItem

Reference to the new design instance

DesignType

*Input

PRIM_OBJT

Name of the reusable part to be used to create a new design instance

Details


The Add method is used to add specialized design type instances to the Tile.
Design reusable parts must implement the Prim_Tile.iTileDesign interface and inherit from the class specified in the Design property of the Tile.
When using the Add method, Tile no longer works like a LANSA list, and is intended for more advanced implementations.

Example


Adding a specialized design type, in case a page for an Employee data object.
Mthroutine Name(AddItem)
Define_Com Class(#Prim_Tile.TileItem) Name(#Item) Reference(*Dynamic)
#Item <= #Tile.Add(#MyEmployeeTile)
#Item.RelatedReference <= #DataEmployee
Endroutine

See also

All Component Classes
Technical Reference

  • No labels