Carousel Design Interface (PRIM_CARO.ICarouselDesign)
Interface allowing Carousel to communicate with its design instances
Ancestors - None

Details


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

Example


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