Book Design Interface (PRIM_BOOK.IBookDesign)
Interface allowing book to communicate with its design instances
Ancestors - None

Details


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

Example


Below is a simple Book page 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_Book.iBookDesign *ListFields #ListFields) Displayposition(1) Height(345) Left(0) Tabposition(1) Top(0) Width(356) Layoutmanager(#AttachLayout1)