Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Main container - how to detect it?
Message
From
08/11/2003 21:07:43
 
 
To
08/11/2003 21:06:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00848006
Message ID:
00848014
Views:
15
>May be ..this can helps..
>
>
>loParent = THIS
>llGotParent = .F.
>
>DO WHILE .T.
>  IF TYPE("loParent.PARENT") = "O"
>     loParent = loParent.PARENT
>     llGotParent = .T.
>  ELSE
>     *-- Top most parent
>     EXIT
>  ENDIF
>ENDDO
>
>IF llGotParent
>  ?loParent.NAME
>ENDIF
>
This is what I was looking for.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform