Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KEEPING FORMS ON TOP
Message
From
13/11/1998 17:09:55
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00157194
Message ID:
00157578
Views:
17
>>>>>>Hello everyone,
>>>>>>I would like to run a form from my VFP50 application and then exit the application and still want to keep the form that I just run on the Desktop.
>>>>>>
>>>>>>Does anybody know how to accomplish that.
>>>>>
>>>>>I don't think you can exit the application and still have a form running.
>>>>>
>>>>>The only thing I can think of is if application A launches application B. A closes but B stays open.
>>>>>
>>>>>BOb
>>>>
>>>>You can launch the next form with the window mode to top level form, then add a command button on it that has release thisform on the click event.
>>>>
>>>>Brad.
>>>
>>>This will not work, because if you close the application, any forms associated with the app will close.
>>
>>
>>Bob,
>>
>>Are you trying to run two applications? If you are trying to just run two different forms within the same application, the what I have written earlier will work. Also, make sure to see the post from Paul Brown, it is also important to making a clean looking application that will only show the forms on that you have designed and not the main application screen that usually is in the background.
>>
>>Brad.
>
>Brad,
>
>Bob was tring to "run a form from my VFP50 application and then EXIT the application and still want to keep the form that I just run on the Desktop"
>
>The solution you offered does not meet that requirement. Top level forms are not separately running processes: visually it looks like they are separate, but they exist only as long as the application that created them.
>
>Bob might try creating to separate apps, and ShellExecute() the second EXE. Then the first app could be closed.

That is true, however it may be that the effect is what he may be implying and that would be easy to do with top level forms, but if he is indeed looking for a totally different application to start as you have suggested then he will need to follow your recommendation.
Thanks again,
Brad.
He is there and He is not Silent.
Previous
Reply
Map
View

Click here to load this message in the networking platform