Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

control​.controls()

  • Last UpdatedJun 25, 2024
  • 1 minute read

Use control.controls() property to get the array of controls in a record of a container.

Here controls is applicable only to containers and its records.

Syntax

control.controls();

Parameters

None.

Return Value

This property returns an array of control object.

Example

// Get the array of controls in the associated record of the control in the Base Form.

var ctrlArr = control.associatedForm.controls;

// which is similar to

// var ctrlArr = control.findById("B1").records()[1].controls;

for (var i = 0; i < ctrlArr.length ; i++)

{

// Perform required operation on each control.

}

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in