Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Doing a form in a procedure
Message
De
14/12/2006 11:14:14
 
 
À
14/12/2006 10:50:56
Marcus Hüneke
Heidelberger Druckmaschinen
Wiesloch, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Divers
Thread ID:
01177577
Message ID:
01177622
Vues:
8
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform