Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How Can I get Top-Level Form Name?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00817434
Message ID:
00817523
Views:
23
>>Pass the name of the parent form to the child when it is called:
>>
>>
>>DO childform WITH ThisForm.Name
>>
>>
>>>Is there any way a Child form can get the name of the Top-Level form it is opened in?
>>>
>>>TIA
>
>I have a container class that has a control that launches a Child Form. The container will probably be on a Child Form itself. The original top-level form can pass itself to the 1st Child Form, but trying to keep track of it all the way down to the control makes for a complicated class.

You might want to consider using a table or array to track these things, if it gets complex like you say. Can simplify things a lot.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform