Release 10.1A: OpenEdge Development:
ADM and SmartObjects

> ## Container SmartLink

> The Container SmartLink’s source object can create and destroy its target objects. During creation, the source can tell its targets to set their positions relative to the source (if the targets have visualizations).

> The source also can tell its targets to parent themselves to the source. If the source is hidden, viewed, or deleted, all its targets also are hidden, viewed, or deleted; this is standard Progress behavior.

> To maintain a Container SmartLink, the ADM requires the source and target objects to `SUBSCRIBE` to and implement the events shown in Table 3–2. Specifically:

> - The Container-Target `SUBSCRIBE`s to the source events in the Container-Source procedure handle and must implement the corresponding internal procedure names.

> - The Container-Source `SUBSCRIBE`s to target events in the Container-Target procedure handle and must implement the corresponding internal procedures.

> Table 3–2: Container events
> ContainerSourceEvents | ContainerTargetEvents
> --- | ---
>     initializeObject
>     hideObject
>     viewObject
>     destroyObject
>     enableObject
>     confirmExit
>     exitObject

> A Container SmartLink typically connects the following types of SmartObjects:

> - Source — SmartWindow, SmartFrame, SmartDialog

> - Target — Any SmartObject

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095