Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do Form isue
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00419390
Message ID:
00419406
Views:
23
form2 is probably modal. Until you finish form2, code will not run after line 'DO FORM form2'. So how form1 could be destroyed when its code locked?
The solutionis as follows.
Put code that runs forms into a single routine, not inside forms that are subject of running:

Do Form1
if SomeResultVariableFromPreviousRunning = .T.
Do Form2
endif
...

>I have a form that has a button that call another form. But i want release the form1 before calling the form2. Where i need to put the code?
>
>I want that the code reside inside the form1. I inclide this code inside the click event of the button in form1.
>
>THISFORM.RELEASE
>DO FORM form2
>
>But i notice that the form1 is still in memory as an Object with a .NULL. value.
>What will be happened if I open 10 forms from inside each form?
>
>Thanks,
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform