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

AVEVA™ Work Tasks

control​.findAllByName()

  • Last UpdatedJun 25, 2024
  • 1 minute read

Use findAllByName() method to find an array of controls with a specific name on the form.

Syntax

control.findAllByName(controlname);

Parameters

Parameter

Description

Control Name

Name of the control to search on the form.

Return Value

This method returns an array of control objects.

Example

// Find all controls in the same and lower hierarchy on the form.

control.findById("B1").findAllByName("Name");

// Find all controls anywhere on the form.

control.findById("B1").findAllByName("Name",1);

// Find all controls in the same hierarchy on the form.

control.findById("B1").findAllByName("Name",2);

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