Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetItem - method of the PmForm object

Description:
Returns Pmf object (i.e. existing form item).
Syntax:
Object GetItem(String sId, [Long nAttr])
Parameters:
sId(String) Pmf object identifier. The value was entered in the sType parameter while creating the object by the PmForm.CreateItem method.
nAttr[optional] (Long) It allows to change the behavior of the method.
0 (default) - default behavior.
1 - When referencing the non-existing object, the global error of the INFO system will not be generated.
Return values:
Returns Pmf object that represents form item.
Note:
This method is also functional in Web panels.
See also:
Example1:
JavaScriptSelect and copy to clipboard

var oItem = oForm.GetItem("sId");

History:
Pm8.03.08: Created
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice