ControlCollection

ControlCollection class

A collection of ActiveX controls.

The ControlCollection type exposes the following members:

Properties

Name Description
as_i_collection Returns ICollection class.
as_i_enumerable Returns IEnumerable class.

Indexer

Name Description
[index] Returns a control at the specified position.

Methods

Name Description
add_control(control_type, x, y, width, height) Creates and adds a new control to the collection.
remove(item) Removes an ActiveX control from the collection.
remove_at(index) Removes an ActiveX control stored at specified position from the collection.
clear() Removes all controls from the collection.

See Also