Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie: how to keep form from immediately releasing?
Message
 
To
10/11/2006 11:08:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01168751
Message ID:
01168753
Views:
13
>I am sure this is a simple one, but the VFP 6 training I just finished (Appdev/Booth) never seems to mention how to keep a form active in a runtime environment. In the training, everything was done from a command window.
>
>In my menu code I execute a "DO FORM formname NAME whatever LINKED WITH param". This syntax was created by the VFP conversion wizard for a 2.x project. I have scrapped the pageframe-based formset that it created, and created a new form without pageframes. But when my code executes the form, the form disappears. I tried making the form Modal, but that had no effect. Is there something I have to place in the menu code just before or after executing the form? Something else??? Maybe the LINKED clause is my problem?
>
>TIA,
>
>-Mike

Look at READ EVENTS and CLEAR EVENTS in the help file - the read is th point at which the form will wait for an event to happen (keypress, mouse, etc)

Not sure about the linked clause.
Phil Thomas
http://phillipdthomas.com

Never let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform