>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.comNever let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....