View Single Post
  #2  
Old 04-07-2013, 04:16
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
not unless if you are using a custom graphic progress. PBProc

check on ImgPBSetPosition procedure

procedure ImgPBSetPosition(var PB :TImgPB; Percent :Extended);
begin
if PB.img1<>0 then begin
NewWidth:=Round(PB.MaxWidth*Percent/100);
if PB.Width<>NewWidth then begin
PB.Width:=NewWidth;
ImgSetPosition(PB.img1,PB.Left,PB.Top,PB.Width,PB. Height);
end;
end;
end;

substitute width with height

i will try it and will inform u soon..