Tile Design interface (PRIM_TILE.ITileDesign)
Interface allowing Tile to communicate with its design instances
Ancestors - None

Details


The Tile design interface is a specific requirement for all Tile design reusable parts.
It provides a set of methods that can be executed by the containing Tile control, allowing the reusable part to respond to changes in the Tile.

Example


Below is a simple Tile item that populates labels with the 3 fields that are mapped in when an entry is added via *ListFields. The values are used to populate labels on the design when the OnAdd method is executed.
If an image is assigned to the item, the OnItemImageChanged method is executed, and the image for the item can be used on the design.
Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #PRIM_PANL *implements #Prim_Tile.iTileDesign *ListFields #ListFields) Displayposition(1) Height(345) Left(0) Tabposition(1) Top(0) Width(356) Layoutmanager(#AttachLayout1)