>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement