Container

This property returns and sets the container of a control on a Form object.

Syntax

object.Container [= container]

Parameters

object
Object expression that evaluates to a control.
container
Object expression that evaluates to an object that can serve as a container for other controls.

Remarks

The Container property is unavailable at design time.