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 focus. The method returns values of the Long type:
0: This object or subobject does not have focus.
1: This object has focus.
2: Subobject has focus.

For easy detection of focus the Focus property can be used.
Return values:
The type and meaning of returned 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.24 SCADA system documentation MICROSYS, spol. s r.o.

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