Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parent form name
Message
De
20/02/2003 15:58:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00755730
Message ID:
00755753
Vues:
18
>I thought about doing this, but another programmer wrote the calling forms and I don't have control over where my form is called from. The only thing I can rely on is that the parent form has to be open and visible when my form is open. Can I get the parent form name from the _Screen.forms() ?

Can't you coordinate with the other programmer?

I am sure you can check the forms collection, but you have the risk of having additional forms open: Form "A" can call form "U" (your utility form), for "B" can also call form "U". In form "U", you detect that both Form "A" and form "B" are open. What now? Looks complicated to me.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform