OLE Automation Object hierarchy
Posted on 1997-10-31
I am having difficulties in implementing a hierarchy or objects. My class implements three tiers of objects. The root item is called Collections. Under that I have several collections. Funds and Regions being two of them. I've implemented an enumerator and this works fine. My problem is that when using my class in VB (as a referenced object), the auto method list box which shows up when editing code only displays my root objects methods and properties. Even when I select the Fund method of the root object.
This is in contrast to other objects such as Excel which will navigate the chain right through from Application.Workbook.Sheets etc. I've obviously missed some property that other objects use.