Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launch a single form without desktop
Message
From
08/08/1999 09:40:13
 
 
To
07/08/1999 19:29:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00250896
Message ID:
00251232
Views:
16
Hi Nancy,

Thanks for the help. Sometimes the simple ones are the most difficult to do. I did end up using a main.prg with just two commands in it
DO FORM "My Form.scx"
READ EVENTS

and in the destroy of the form I put CLEAR EVENTS. This seems to work as I just want a single modal form with no menus for this application. Thanks for the 0.02¢ it was worth $27.50 ...

What setup and clean up would you do for a single form? This one form uses DDE to get status info (running/not running) from a PLC (programmable logic controller) for the production machinery. Also this form displays production data from an Access table and the current hour meter reading stored in the PLC. Some neat stuff to fool with...

Thanks

>Just to add a bit to Ed's message: You want (IMO) a main prg (instead of using just a form). Then this is where you can do all sorts of setup and clean up. So, you could DO FORM from the prg.
>
>For your menu, you probably want to set it as a toplevel menu. The way you do this is to modify the menu, pick the "View/General Options" menu option, and check the Top-Level Form checkbox.
>
>You can use the application wizard to generate an application. It's not too bad actually at showing you the pieces of using an application object. If you can start from the beginning using this idea, even if it is only skeletal now, you'll be able to use the concepts later. Just my .02 U.S.
>
>>Version 6. No you don't misunderstand... I found TopLevelForm setting but cannot find where or how to SET _screen = OFF.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform