ControlCollection

ControlCollection class

Control collection.

Properties

NameTypeDescription
Countint
Item (int)Control

Methods

NameDescription
addAdd the Control object in the collection.
removeRemove the Control object from the collection.
getControlGets the element at the specified index IX.
getControlFromIdGets the element at the specified ID.
getControlFromNameGets the element at the specified name.
clear
removeAt
iteratorReserved for internal use.

ControlCollection.Count property

Type: int

ControlCollection.Item (int) property

Type: Control

add(item)

Add the Control object in the collection.

remove(item)

Remove the Control object from the collection.

getControl(IX)

Gets the element at the specified index IX.

ParameterTypeDescription
IXint

getControlFromId(ID)

Gets the element at the specified ID.

ParameterTypeDescription
IDint

getControlFromName(name)

Gets the element at the specified name.

ParameterTypeDescription
nameString

clear()

removeAt(index)

iterator()

Reserved for internal use.