Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form close on its own
Message
From
15/01/2009 10:56:23
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01373724
Message ID:
01374078
Views:
26
>>>>>>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 :-)

I corrected my didn't. Didn't I? ;-) So in short I'll have to change them all (would'nt = wouldn't, could'nt = couldn't...)?

The thing is that I don't want form "C" and form "B" to close but only form "C". Why would form "B" also close?

I tried modal, modeless. It doesn't change a thing
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform