MdoMDIForm is the collection of all Visual Basic controls that are contained within this MDI form. This collection does not recursively include controls that are contained within controls.
This collection is not attached to the default interface for the MdoMDIForm Automation object; it is attached to the IMdoControlContainer interface. For details on how to access a member of an interface that is not the default interface, see Accessing Automation Object Members.
Collection Descriptor | Descriptor Value |
Relationship Type | Component-Has-Controls |
Source Is Origin | Yes |
Minimum Collection Size | Zero |
Maximum Collection Size | Many |
Sequenced Collection | No |
Deletes Propagated | Yes |
Destinations Named | Yes |
Case Sensitive Names | No |
Unique Names | No |
object.MdoControls(index)
The MdoControls collection syntax has these parts:
Part | Description |
object | An object expression; evaluates to an object that implements IMdoControlContainer as the default interface. |
index | An integer index that identifies which element in the collection is to be addressed. The valid range is from one to the number of elements in the collection. The number of elements in the collection is specified by object.MdoControls.Count. |