ControlsCount Property (AControl)

Version 5

 

Returns the number of contained controls.

Syntax

[ lCount= ] Object.ContolsCount()

The ControlsCount property syntax has the following parts:

 

Name

Type

Description

Object

A control

A control object

lCount

Long

The number of controls contained

Comments

 

Example

The following statement retrieves the number of controls contained in a tab page called 'tabUsers':

10 = tabUsers.ControlsCount()

Applies to

Any control which supports the Container property.

See Also

Controls, Container