Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How Can I get Top-Level Form Name?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00817434
Message ID:
00817523
Vues:
24
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform