Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form close on its own
Message
From
15/01/2009 09:40:36
 
 
To
15/01/2009 09:32:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01373724
Message ID:
01374049
Views:
40
>>>>>Form a (contains a button with thisform.release) opens form b
>>>>>Form b (contains a button with thisform.release) opens form c
>>>>>Form c displays information (contains a button with thisform.release)
>>>>>
>>>>>when I click the button on form c it closes form b and form a
>>>>>
>>>>>??
>>>>Don't you mean that form c is only called when b is released, which is only called when a is released?
>>>>
>>>>So the releasing of c you'd expect a and b already to be released.
>>>>
>>>>So you are complaining that their release is too late or that c "releases" them?
>>>
>>>I don't get why c releases two forms
>>
>>Maybe because not until each form's called form has completed, ie closed, can the calling form finish its release.
>
>Form "A" calls form "B" which calls form "C". When I close form "C" (thisform.release) form "B" is also closed.
>
>That's what I don't get.
>
>Excuse me is my situation was'nt clear enough before.

I mean, each calling form has not completed its list of tasks until each call to another form has completed.

To make it seem like the calling forms DO close, when calling their children, you could make them invisible before the call to the child.

Also, if the called forms are modal then this might make the difference.

BTW, I've told you before, it's wasn't, not was'nt :-)
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform