Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exiting Program
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00291561
Message ID:
00291825
Views:
22
>If you use As Top-level form and use my shutdown code then the main window will close along with you form. In my situation it seems like I can only use In top-level form to prevent my program from terminating even though I am try to go to another form. This particular form is using a timer, so may that has something to do with it. Let me know what you problem is.

A couple ideas, maybe one might help:

1) Use two separate TLs and no main vfp screen, each TL with its own READ EVENTS/CLEAR EVENTS in the main.prg - I do something like this, and it works fine. I actually have the CLEAR EVENTS for the first one with a timer in a Gotfocus, in one case.

2) If using the main vfp _screen, move it off-screen with .Left = -10000 to get rid of it.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform