Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program flow in VFP
Message
De
10/11/2007 18:17:14
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
10/11/2007 17:58:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01268289
Message ID:
01268293
Vues:
13
Hi Bob

>When does VFP wait for commands to finish, and when does it go ahead without waiting.
>
>One example of not waiting is when a “do form MyForm” is issued from a commend button. MyForm starts up, but the code following the “do form” continues without waiting for the form to close.
>
>I’m thinking of a control’s refresh that triggers refreshes in other controls like:
>
>with this.parent
> .cboA.refresh()
> .cboB.refresh()
> .cboC.refresh()
>endwith
>
>Could things continue in this case with a fast cboB.refresh executing before a slow cboA.refresh completes?

No. However, a timer could fire the refresh of any or all of them.

>Where would I find some general documentation on this in the Fox help file?

This is generally a tough thing to master. Look at WindowType property and Show methods in the help.

If you want a form to wait, make it modal. I'm not a fan of that. I say the user will have greater benefit by having forms that are not modal. Try to do all the activities you need within the current form, without popping up modal dialogs.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform