|
|
导航: |
论坛 -> DELPHI技术
斑竹:liumazi,sephil |
|
作者: |
|
2003/10/30 11:26:49 |
标题: |
|
加入我的收藏 |
楼主: |
我想用进度条来表示abcdefg7个任务的完成度,如何用代码操作
----------------------------------------------
尽情舒展,是一种向往,想去的地方、想拥有的感受,尽管追求! |
作者: |
bios (阿贡) |
★☆☆☆☆ |
-
|
盒子中级会员 |
|
2003/10/30 11:47:30 |
1楼: |
看不懂你的意思!
----------------------------------------------
|
作者: |
zxm (认真学习) |
★☆☆☆☆ |
-
|
盒子活跃会员 |
|
2003/10/30 11:49:39 |
2楼: |
去取他们的值的完成情况啊
----------------------------------------------
好好学习,天天向上! →我: ●-(不许动!) ● ←:你: █┳ ┗█┛ ┏┓ ┛┗
|
作者: |
|
2003/10/30 14:31:09 |
3楼: |
我是想知道,进度条控件怎么用
----------------------------------------------
尽情舒展,是一种向往,想去的地方、想拥有的感受,尽管追求!
|
作者: |
bios (阿贡) |
★☆☆☆☆ |
-
|
盒子中级会员 |
|
2003/10/30 15:03:21 |
4楼: |
try bmp:=TBitMap.Create ; jpg:=TJPEGImage.Create ; frmprogress.Show ; frmprogress.Gauge1.MaxValue :=clb1.Items.Count*2; frmprogress.Gauge1.Progress :=0; for i:=0 to clb1.Items.Count -1 do begin//2 if clb1.Checked [i] then begin//3 s2:=clb1.Items[i]; if DirectoryExists(s2) then begin//4 s4:=s2+s1+'.bmp'; s3:=s2+s1+'.jpg'; if FileExists(s4) then continue; image1.Picture.SaveToFile(s4); if RadioButton2.Checked then begin//1 bmp.LoadFromFile (s4); jpg.Assign (bmp); jpg.CompressionQuality:=100 ; jpg.Compress ; jpg.JPEGNeeded ; if FileExists(s3) then continue; jpg.SaveToFile(s3); deletefile(s4); frmprogress.Gauge1.Progress := frmprogress.Gauge1.Progress +1; frmprogress.Label4.Caption :=IntToStr(i); frmprogress.Label4.Update ; frmprogress.Edit1.Text :=s4; frmprogress.Edit1.Update ; end;//1 end;//4 end;//3 end;//2 finally bmp.Free ; jpg.Free ; mymsgbox('保存完毕','^^',0); frmprogress.Hide ; end;
----------------------------------------------
|
作者: |
|
2003/10/30 15:50:37 |
5楼: |
看看我的作品吧!
----------------------------------------------
我爱DELPHI!
|
作者: |
|
2003/10/30 16:22:44 |
6楼: |
先看看
----------------------------------------------
尽情舒展,是一种向往,想去的地方、想拥有的感受,尽管追求!
|
作者: |
catanx (catanx) |
★☆☆☆☆ |
-
|
盒子活跃会员 |
|
2003/10/30 16:57:03 |
7楼: |
有点意思
----------------------------------------------
我常逛的一个电影站,写写程序看看电影,不要太累了,会死人的:) www.ddvan.com 很有特色哦,自己发觉吧。
|
|