Share via


FormBuildMenuButtonControl.controlNum Method

Retrieves a contained control by using the specified index.

Syntax

public FormBuildControl controlNum(int controlNo)

Run On

Client

Parameters

  • controlNo
    Type: int
    An integer value that indicates the index of the child control to retrieve.

Return Value

Type: FormBuildControl Class
A FormBuildControl object that represents the child control that has the specified index if this is a container control; otherwise, nullNothingnullptrunita null reference (Nothing in Visual Basic).

Remarks

If the specified controlNo parameter is out of range, an exception is raised.

See Also

Reference

FormBuildMenuButtonControl Class