Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a fancy replacement por WAIT WINDOW NOWAIT?
Message
From
29/09/2021 12:52:57
 
 
To
28/09/2021 15:10:36
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01682356
Message ID:
01682379
Views:
55
>Thank you, but I'm looking for a replacement for WAIT WINDOW NOWAIT (modeless), not for MESSAGEBOX (modal).

with the seldom used nTimeout Parameter even old MessageBox() can work similar to modeless...

I think you should take a step back and consider function over form ;-)
For me there are several streams of:
logs, timings, messages and sometimes user input necessary interactions.

I bundle these in a class formating the strings (for input in a table) and specific usage in 1 or more "channels". Channels could be:
Stringstream to disk
Stringstream to Screen (?, Wait Window Nowait, Forms / Messagebox with minimal timeout)
String with Progress (??, Looped Wait Window Nowait, Progress Bar)
Message with user interaction (WAit Window with input, MessageBox, MsgSvc, special form)

as all can be hooked in, switching to another way depending on user preference is as easy as logging/measuring/timing all relevant actions.

Buuuuuut I am not the most GUI considerate kind of dev...

thomas
>>>Hi! I've been developing many VFP applications over the years and all of them use WAIT WINDOW...NOWAIT to show the user that some process is going on, until one of my clients told me that little dull windows is not seen by their users and they think the app is frozen so they call support to help them, they finally tell the users that they have to wait until that little dull windows disappears.
>>>
>>>So, my client wants me to replace it with some fancier and more attractive window so that his users know what is going on.
>>>
>>>Does anybody knows a well known class that can be used instead? I tried to create one of my own but I guess it is a lot of work trying to figure out the width and height of the window, so I ask you where can I get one fancier WIT WINDOWS replacement. If it could use a progress bar that would be terrific!
>>>
>>>TIA
>>
>>Hi Luis,
>>
>>you could look at https://github.com/StevenBlack/msgsvc
>>
>>I vaguely recall someone offering a much better looking replacement for Messagebox() either here or on Foxite but can't remember who or what it was called. If it comes back to me I'll post here. Also not sure if it could replace the NOWAIT.
>
Previous
Reply
Map
View

Click here to load this message in the networking platform