Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing Forms Before Calling other Forms
Message
From
26/08/1998 15:59:49
 
 
To
26/08/1998 15:56:35
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00130254
Message ID:
00130261
Views:
24
>>I have a form containing a command button. The click event of that command button calls another form. How do I close the Initial form before the other one is called.
>
>I think this will work:
>*** some form snippet
>DO FORM anotherform
>Release Thisform
>But maybe it's enough Thisform.Visible=.F. ? (depends on what you need in)

Maybe a two-step process? First, have the button call the form with

DO FORM anotherform WITH THIS

In the Init of anotherform, have:

LPARAMETERS oCallingForm
oCallingForm.Release

Whaddya think?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform