Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wait window
Message
De
25/07/2004 10:23:53
 
 
À
25/07/2004 06:42:23
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00927681
Message ID:
00927696
Vues:
21
Hi,

I've never come across anything comparable to a wait window in .NET. I'm guessing if you dive into the Windows API you could find one, or maybe create your own custom modeless form and work with that.

What I do is this...on my main form, I reserve the very bottom of a form for a 'status' label. It has a black background and a white foreground, so the color sticks out from everything else.

By default, the label is invisible, but anytime I want to show the equivalent of a 'wait window' (running a query, saving a file, etc.), I have a function that sets it visibile and displays a message...and then sets it back to invisible when the process is done.

So while it's not a 'popup' that a wait window provides, but it sticks out enough to alert that user that it serves the same purpose.

Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform