Board index » cppbuilder » Adding a Progress Bar to a Status Panel

Adding a Progress Bar to a Status Panel

Bill-
Check out this document:
http://community.borland.com/article/0,1410,17293,00.html

_mykle

Quote
Bill Nortman wrote:
> I have the following code with compiles and runs but my progress bars
> don't display.

> TProgressBar *ProgBar;
> TProgressBar *ProgBar2;
> .
> .
> .
> .
>     ProgBar = new TProgressBar( MainStatusPanels->Panels->Items[4]);
>     ProgBar->Align = alClient;
>     ProgBar2 = new TProgressBar( MainStatusPanels->Panels->Items[5]);
>     ProgBar2->Align = alClient;
>     ProgBar2->Max =100;
>     ProgBar2->Position = 50;

 

Re:Adding a Progress Bar to a Status Panel


I have the following code with compiles and runs but my progress bars
don't display.

TProgressBar *ProgBar;
TProgressBar *ProgBar2;
.
.
.
.
    ProgBar = new TProgressBar( MainStatusPanels->Panels->Items[4]);
    ProgBar->Align = alClient;
    ProgBar2 = new TProgressBar( MainStatusPanels->Panels->Items[5]);
    ProgBar2->Align = alClient;
    ProgBar2->Max =100;
    ProgBar2->Position = 50;

Other Threads