iTileDesign Interface

Visual LANSA Feature

iTileDesign Interface

The iTileDesign must be implemented by any reusable part that is to be used as a Design for a Tile control (#Prim_Tile).  The interface contains a series of methods through which the Tile can communicate with the design instance to inform it of changes to its state e.g. Selection, Focus etc.

The source below shows the Begin_com for reusable part implementing the appropriate design for Prim_tile as well as the *Listfields feature which defines the fields to be received by the design when it is ADD_ENTRY is used to create the item.

Begin_Com Role(*EXTENDS #Prim_Panl3 *implements #Prim_Tile.iTileDesign *ListFields #ListFields)

* Fields received as on Add_entry
Group_By Name(#ListFields) Fields(#Empno #Surname #Givename #Deptment #Section #Deptdesc #Secdesc)