Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Doing a form in a procedure
Message
From
14/12/2006 11:14:14
 
 
To
14/12/2006 10:50:56
Marcus Hüneke
Heidelberger Druckmaschinen
Wiesloch, Germany
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01177577
Message ID:
01177622
Views:
7
>Yes, should be the ESC-Command
>Do you have another suggestion ?
>
>Thanks
>
>Marcus

Marcus

Well I've been thinking along the lines of calling the other form, which returns a value:

Do Form Wait to llGetOutOfIt

llGetOutOfIt is a logical field that's tested repeatedly in your processing loop. If .T., and within the abort period then break out of the processing loop.

Trouble is, for a form to return a value it needs to be modal, which means that it will take up the processing time and suspemd the calling form.

So, a modeless Wait form that instead sets a global var that the process loop in the main form inspects. But this is just me thinking aloud and haven't gone through all the ramifications.

HTH

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform