control.findAllByXmlNode()
- Last UpdatedJun 25, 2024
- 1 minute read
Use findAllByXmlNode() method to find an array of controls with a specific XML node on the form.
Syntax
control.findAllByXmlNode(mappedXMLnode);
Parameters
|
Parameter |
Description |
|---|---|
|
mappedXMLnode |
XML node 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").findAllByXmlNode("EmployeeName");
// Find all controls anywhere on the form.
control.findById("B1").findAllByXmlNode("EmployeeName",1);
// Find all controls in the same hierarchy on the form.
control.findById("B1").findAllByXmlNode("EmployeeName",2);