Property Settings -- Variable

Use the following properties to define initial characteristics of a Variable part.

Variable properties

autoDeleteTarget
Specifies whether the C++ object referenced by the variable is deleted when the object is no longer referenced by the variable. The default is false. This property should be true only for objects that are created dynamically using a Factory.

deferUpdate
Specifies whether connection value updates for attributes in the variable are deferred until the apply action is called. The default is false.

For example, if a text attribute in a variable takes its value from an entry field and deferUpdate is true, the text attribute is not updated as each character is added to the entry field. A connection to the variable'sapply action directs the variable to update its attributes for all attribute-to-attribute connections.

enabledForNotification
Specifies whether the variable is enabled for event notification. The default is true. Visual composition connections depend on event notification.

initializationType
Specifies how attributes are initialized for attribute-to-attribute connections when a new object is placed in the variable. If a type is not specified, broadcast is assumed. The following types of initialization are available:

partName
The composition name of the part. This name is used for the class instance in generated code.


Related procedures
Working with Variable Parts
Editing Part Properties

Related references
Variable
Portability -- Variable
VisualAge User Interface Part Properties