Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetOwnedByIndex - method of object PmObject

Description:
Returns the subobject defined by its index.
Syntax:
GetOwnedByIndex(nIndex As Long) As Object
Calling:
Set o = 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 object tree!

Note:
It is mainly used for multiple changes of subobjects of defined type. For Graphic items for the same purpose the GetChildByIndex method can be used.
See also:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice