Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal Forms in EXE?
Message
From
05/05/1997 14:57:19
 
 
To
05/05/1997 11:46:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00030843
Message ID:
00030873
Views:
31
>>Also, are there any other special considerations I should keep in mind when developing my app which will eventually become an EXE?

>Your fellow developers kidding you. There are no any such limitations. There are no principal differences between APP and distributed EXE.

There is one thing that could turn into a gotcha. When you're running an .app file, you are already running under the aegis of a full copy of VFP, so if you neglect to put a READ EVENTS statement in your code, chances are VFP will forgive the oversight.

On the other hand, as an .exe, there is no such shell, so under most circumstances, you must use a READ EVENTS statement in order to get the system to stop and wait for directions from the user (either from modeless forms, a menu, or so on).

There are certain times that a READ EVENTS is not necessary. Two such times are when you are using a modal form, and if you are doing batch processing. I have a program here that falls under both categories, and there's no READ EVENTS statement in it. But most of the time, this is an exception.
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Previous
Reply
Map
View

Click here to load this message in the networking platform