Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetItemInfo - method of object PmiItem

Description:
Obtaining special information regarding the graphic item.
Syntax:
GetItemInfo(nType As Long) As Variant
Calling:
Val = oItem.GetItemInfo(nType)
Parameters:
nType(Long) Obtained information type.
1 - Detect whether the item or subitem has focus. The method returns Long type values:
0: This item or subitem does not have focus.
1: This item has focus.
2: Subitem 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:
The method can also be called in the graphic item events for Web Panels.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice