Promotic

GetItems - method of the PmForm object

Description:
Returns an array of Pmf objects.
Syntax:
Object GetItems(String sFilterType, [String vFilterValue])
Parameters:
sFilterType(String) Type of input filter of the method.
"All" - All Pmf objects
"IdBegin" - All Pmf objects that have names Id beginning with value defined in the vFilterValue parameter
"IdSub" - All Pmf objects that have names Id containing value defined in the vFilterValue parameter
vFilterValue[optional] (String) Entered filter value of the method.
Return value:
Returns an array of Pmf objects or empty array on error.
Note:
This method is also functional in Web panels.
See also:
- PmForm.GetItem (method)
Example1:
JavaScriptSelect and copy to clipboard

var aItems = oForm.GetItems("All");

History:
Pm9.00.04: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.