Mike Yearwood
Toronto, Ontario, Canada
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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only