Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wait window replacement
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01671072
Message ID:
01671077
Vues:
76
>>Hi!
>>
>>We want do replace the old fashioned wait window.
>>So we've made an new nice Form and everything looks good ;)
>>
>>Bud: The behavior of the wait window is much different to a normal form. A Wait window call never fires a deactivate of an active form. Bud a form does.
>>So: What do you do?
>>
>>Any suggestions to provide activates/deactivates?
>
>Hi, Jörg
>You can use toolbar.
>MartinaJ

How about a generic form? It can set to be a popup with a timer to automatically timeout if needed. It can BINDEVENT() to whatever the focus form is and intercept mouse moves and keystrokes to auto-go-away when it's time. It could then store previous messages to a log, allowing them to be viewed later, reported on, etc.

Replace "WAIT WINDOW" with a new function, "wait_window(" and then put everything that used to be there as input as a string:
* Current way:
WAIT WINDOW TRANSFORM(lnI) + " records processed" NOWAIT

* Translate to
wait_window([TRANSFORM(lnI) + " records processed" NOWAIT])
And the wait_window() code would parse that syntax and replace the functionality.

Surely someone has written this already?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform