小弟初学delphi对于很多基础不太懂
现在遇到一个问题
if xxoo=1 then label1.caption:='1000';
if xxoo=2 then label1.caption:='2000';
但是我想把他用进progress bar(Gauge)里面
Form1.Gauge1.MaxValue:=labe1;
就报错....
总不能让我
If xx00=1 Then Form1.GaugeExp.MaxValue:=1000;
If xx00=2 Then Form1.GaugeExp.MaxValue:=2000;
if xx00=3 then ............
吧.....