Здравствуйте, Andrea.
I think, now it is no way to associate some control with
TCollectionItem-descendant like TStatusPanel
I make it with OnResize event by updating it's coordinates.
Вы писали 14 марта 2009 г., 0:02:36:
> Thanks, it works.
> Just the Left property seems to have no effect, the
Thanks, it works.
Just the Left property seems to have no effect, the ProgressBar is
placed on the left corner ot the StatusBar1, like having Left:= 0.
There's a way to associate a ProgressBar with a TStatusPanel?
I tried using this code, but nothing happens:
procedure TForm1.StatusBar1DrawPanel
Здравствуйте, Andrea.
Try this:
procedure TForm1.FormCreate(Sender: TObject);
var
ProgressBar1: TProgressBar;
begin
ProgressBar1:= TProgressBar.Create(StatusBar1);
with ProgressBar1 do
begin
Parent := StatusBar1;
Left := 50;
Visible:= true;
Height:=15
Also... What I've done before...
Just add the text...
0%
5%
15%
95%
100%
Not so "nice" but effective.
On Tue, Mar 10, 2009 at 10:40 PM, Reenen Laurie wrote:
> Anchoring it "on" the statusbar might work?
>
> 2009/3/10 matt shaffer
>
> I'm going to give you a possibility but it will probably
Anchoring it "on" the statusbar might work?
2009/3/10 matt shaffer
> I'm going to give you a possibility but it will probably not be the best
> way. I have laz 9.26.3; and the status bar has a z order. This means, you
> can set the progress bar's z order to top and it should be able to be moved
I'm going to give you a possibility but it will probably not be the best
way. I have laz 9.26.3; and the status bar has a z order. This means, you
can set the progress bar's z order to top and it should be able to be moved
on top of the status bar. Is this considered a bug? I don't know. Doing it
Dear all,
anyone can suggest me a way in order to place a TProgressBar into a
TStatusBar?
I found some tutorials but they are just for Delphi and Win.
Thanks,
Andrea
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.or