Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parent form name
Message
From
20/02/2003 15:58:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00755730
Message ID:
00755753
Views:
10
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform