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.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oObject = pMe.Items("/Txt0");
var nInfo = oObject.GetItemInfo(1);
Dim oObject, nInfo
Set oObject = pMe.Items("/Txt0")
nInfo = oObject.GetItemInfo(1)