Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetOwnedByIndex - method of object PmaObject

Description:
Returns the subobject defined by its index.
Syntax:
Object GetOwnedByIndex(Long nIndex)
Calling:
oOwned = oObject.GetOwnedByIndex(nIndex)
Parameters:
nIndex(Long) The order (Index) of the subobject (zero-based index).

Caution: the objects Order does not have to match the order of objects in the tree of Pma objects!

Note:
It is mainly used for multiple changes of subobjects of defined type. For Pmg objects for the same purpose the GetChildByIndex method can be used.
See also:
PROMOTIC 9.0.5 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