>How to Get the Top Most Parent Class ?? i.e.
>
>Suppose
>
>oPara=Thisform.pageframe.page1.textbox
>
>Then it shud return Thisform
>
>Same way if
>
>oPara=_screen.Myobject
>
>Then it shud return _screen...
Do you want the top most ParentClass (class hierarchay) or the topmost Container?
this.ParentClass && parent class
this.Parent && containing object
If you loop through adding a parent until the type is not an object anymore you should be able to get the outter container. Which would be the same for all objects, wouldn't it?
BOb
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only