all groups > dotnet windows forms > august 2006 >
You're in the

dotnet windows forms

group:

Change of visibility of a ToolStripStatusLabel is slow. Why?


Change of visibility of a ToolStripStatusLabel is slow. Why? nvx
8/4/2006 6:44:46 PM
dotnet windows forms: Hi,
I have a StatusLabel with an image and a ProgressBar on a StatusStrip, both are not visible by default. When user decides to
save the edited data to a file, both StatusLabel and ProgressBar are set visible and ProgressBar indicates the save progress.
The problem is that if the save operation doesn't last long, the StatusLabel containing the image does not get visible. I tried
to put MessageBox.Show(...) between the line where StatusLabel is set visible and the line where the value of the ProgressBar
starts to increase. Then the StatusStrip was visible. It seems to me that something somehow slows down setting the StatusStrip
visible. Is there any way to improve this odd behaviour?

Thanks for any help.

With regards
Re: Change of visibility of a ToolStripStatusLabel is slow. Why? nvx
8/4/2006 10:22:12 PM
Well, I solved it with statusStrip.Refresh()...

nvx


nvx napsal(a):
[quoted text, click to view]
AddThis Social Bookmark Button