Updating status label and status bar
- From: "K Viltersten" <tmp1@xxxxxxxxxxxxxx>
- Date: Sat, 16 Feb 2008 23:50:33 +0100
I added a status label and a status bar and as the status reaches its maximum the text on the label will change. The
problem is that the text changes BEFORE
the bar gets "pumped up" to the max.
bar.PerformStep ();
if (bar.Value < bar.Maximum)
status.Text = "Pretending to work!";
else
status.Text = "Done.";
The way i see it, it should first go to the max and as the user gets to see
that the bar is full, the status text is changed. Hints?
--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy
.
- Follow-Ups:
- Re: Updating status label and status bar
- From: Peter Duniho
- Re: Updating status label and status bar
- Prev by Date: SV: SV: SV: What's the size of the window
- Next by Date: Memory leak ?
- Previous by thread: TableLayoutPanel Resize
- Next by thread: Re: Updating status label and status bar
- Index(es):
Relevant Pages
|