Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More VFP nostalgia : wait nowait
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Vista
Network:
Windows XP
Database:
Jet/Access Engine
Application:
Desktop
Divers
Thread ID:
01525944
Message ID:
01525952
Vues:
82
>Let me reassure you, there is nothing "anal" about my attachment to the WAIT WINDOW NOWAIT behaviour in vfp, other than that it was so damn easy to use :)

I certainly didn't intent to imply anything about your attachment to VFP :-}

>I'm looking for a way to display some "monitoring", keeping my users from becoming impatient, during a process that takes more than say a few seconds (yes, my users are high-strung :) )
>
>You figure multi-threading (something I kept away from all those years) is worth exploring in this context?

If you wanted to use 'NOWAIT' then that seems to imply that users should be able to continue to interact with the UI whilst the process is completing. In that case running the process on a different thread sounds like a very good option - you can still provide feedback to the UI thread if that is needed to keep the users happy......


>Thanks for all your help (even when you think you're not, (and that's the only time you can be caught for being wrong) (I guess in C# you don't mind all those parentheses) you are helping dear :) ).
>
>Kind regards,
>
>Marc
>
>
>
>
>>I don't have anything :-{
>>
>>I'm also a bit rusty on the actual VFP implementation but I assume you would most likely want WAIT WINDOW NOWAIT behaviour.
>>IAC it wouldn't be trivial. AFAICS you'd need a form subclass using .Show() or ShowDialog() depending on the NOWAIT flag, a timer to implement TIMEOUT and also have to monitor keyboard and mouse activity to determine when to hide/close the window.
>>
>>My gut feeling is that this is a VFP specific piece of behaviour which wouldn't normally be seen in a Winforms app anyway and, unless there is a very compelling reason, it would be better to rething the interface.
>>
>>Won't say HTH because I'm sure it doesn't :-{
>>
>>>Winforms. ... and I guess I can read C#, so if you have something, do not bother to translate it... (or to be more realistic, if there is something I don't understand, I'll ask. :) )
>>>
>>>
>>>>Is this WinForms, WPF or ASP.NET ?
>>>>
>>>>>Anybody coded a simple replacement of the "wait nowait" statement in vb.net.
>>>>>
>>>>>Thanks and kind regards,
>>>>>
>>>>>Marc
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform