Board index » cppbuilder » Status Bar & Progress Bar

Status Bar & Progress Bar

Hi iam currently using C++Builder v4 professional and was wondering if
anyone know a good source or even a component that allows me to have a
status bar the bottom of my MainMDI frame that can have init a progress
bar.  Or is there away to do this with the TProgressBar and TStatusBar that
comes with builder4?

Thankx in Advance.

-Nick

 

Re:Status Bar & Progress Bar


You can add a TProgressBar to a TStatusBar easily.  All you have to do is
assign the TStatusBar to the TProgressBar's Parent property, and then set
the TProgressBar's Left, Top, Width, and Height properties as needed to
postion the progress bar where you need it

Gambit

Quote
"Nick Quach" <nqu...@sunada.com> wrote in message

news:Xns902C6D763nquachsunadacom@207.105.83.65...
Quote
> Hi iam currently using C++Builder v4 professional and was wondering if
> anyone know a good source or even a component that allows me to have a
> status bar the bottom of my MainMDI frame that can have init a progress
> bar.  Or is there away to do this with the TProgressBar and TStatusBar
that
> comes with builder4?

Re:Status Bar & Progress Bar


  ProgressBar = new TProgressBar(MasterStatusBar);
  ProgressBar->Parent = MasterStatusBar;
  ProgressBar->Top    = 3;
  ProgressBar->Height = MasterStatusBar->Height - 3;
  ProgressBar->Left   = MasterStatusBar->Panels->Items[0]->Width + 3;
  ProgressBar->Width  = MasterStatusBar->Width - ProgressBar->Left - 13;
  ProgressBar->Min = 0;
  ProgressBar->Step = 1;
  ProgressBar->Smooth = true;

"Nick Quach" <nqu...@sunada.com> ha scritto nel messaggio
news:Xns902C6D763nquachsunadacom@207.105.83.65...

Quote
> Hi iam currently using C++Builder v4 professional and was wondering if
> anyone know a good source or even a component that allows me to have a
> status bar the bottom of my MainMDI frame that can have init a progress
> bar.  Or is there away to do this with the TProgressBar and TStatusBar
that
> comes with builder4?

> Thankx in Advance.

> -Nick

Other Threads