control.findAllById()
- Last UpdatedJun 25, 2024
- 1 minute read
Use findAllById() method to find an array of controls with a specific ID on the form.
Syntax
control.findAllById(controlID);
Parameters
|
Parameter |
Description |
|---|---|
|
controlID |
ID of the control to search on the form. |
Return Value
This method returns an array of control objects.
Example
// Find all Text controls in the same and lower hierarchy on the form.
control.findAllById("T1");
// Find all Text controls anywhere on the form.
control.findAllById("T1",1);
// Find all Text controls in the same hierarchy on the form.
control.findAllById("T1",2);