Component Instances

A component instance is a runtime version of a Uniface or non-Uniface component. It is possible to have multiple instances of the same component running simultaneously.

A new component instance is created when the newinstance statement is executed, and deleted by the deleteinstance statement. Component instances that were created using a handle can also be deleted by dropping the reference count to 0. For more information, see Reference Counting .

The component signature provides a defined interface that can be used to invoke operations via the activate statement or handles.

A component instance is said to be attached to the calling component instance when it is created using the /attached switch with the newinstance command, or when its Modality & Attachment widget property is set to Non-Modal, Attached. Attached component instances are deleted when the calling component exits.

Related Topics