VBSubpart Statement

The VBSubpart statement describes a part within a composite visual or nonvisual part. The embedded part is referenced in statements describing connections and promoted features.

{ //VBSubpart: ownerName, partName, type, refType }

ownerName
Name of the part that is the parent window for the embedded part.

partName
The name of the embedded part.

type
C++ class type of the embedded part. Include modifiers such as pointer or reference notation.

refType
The form of the embedded part.

( p | v | f | T )

p
The part is an object instance of the class.

v
The part is a variable placeholder for object instances of the class.

f
The part is a factory that generates new object instances of the class.

T
The part is a tear-off attribute of another part. It serves as a variable placeholder of the torn-off attribute.


Related procedures
Defining the Part Interface Using Part Information Statements

Related references
Visual Part Information Statements
Nonvisual Part Information Statements
Part Information Statement Descriptions
Part Information Statement Examples