Promotic

GetItemInfo - method of the PmgObject object

Description:
Returns special information regarding the Pmg object.
Syntax:
Variant GetItemInfo(Long nType)
Parameters:
nType(Long) Obtained information type.
1 - Detects whether the object or subobject has the focus. The method returns values of the Long type:
0: This object or subobject does not have focus.
1: This object has the focus.
2: Subobject has the focus.

For easy detection of focus the Focus property can be used.
Return value:
The type and meaning of return value depends on the type of obtained information nType.
Note:
This method is also functional in Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oObject = pMe.Items("/Txt0");
var nInfo = oObject.GetItemInfo(1);

History:
Pm8.02.11: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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