设置Position属性:<br>procedure TProgressBar.SetPosition(Value: Integer);<br>begin<br> if not F32BitMode and ((Value < 0) or (Value > Limit16)) then<br> ProgressLimitError;<br> if HandleAllocated then SendMessage(Handle, PBM_SETPOS, Value, 0)<br> else FPosition := Value;<br>end;<br><br>想自己处理,处理PBM_SETPOS消息吧。<br>