Updating status label and status bar

Tech-Archive recommends: Fix windows errors by optimizing your registry



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

.



Relevant Pages

  • Re: excel chart - sales data for 3 years
    ... The label column is a concatenation of the first two columns. ... Label and Blank columns and make a bar chart. ... axis, and the bars do not appear because their value is zero. ...
    (microsoft.public.excel.charting)
  • RE: excel data label format special number characters (part 2)
    ... Once you click a bar to select the series you can click any bar in the ... Maybe even more useful once you have a Data Label applied you can use the ... If labels are on the entire series, click a label, click it again to focus ... It will display whatever is in the related cell ...
    (microsoft.public.excel.misc)
  • Re: How do I change data labels on scatterplot
    ... The program will not install on XL2007 as it adds items to a "menu bar" ... The program code will have to be modified. ... link the cell contents to the label. ...
    (microsoft.public.excel.charting)
  • Re: asm and x64
    ... bar PROC FRAME ...
    (microsoft.public.vc.language)
  • Re: asm and x64
    ... bar PROC FRAME ...
    (microsoft.public.vc.language)