TProgressBar property out of range怎么解决啊

geniusqing 2005-09-12 01:47:45
我的ProgressBar1 max为300,min为120,运行时TProgressBar property out of range 错误
怎么解决啊,怎么让ProgressBar1的range 变大啊
...全文
1093 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
aiirii 2005-09-12
  • 打赏
  • 举报
回复
除非你认为的设置 position := 的值超过范围,要不,应该不会出错才对阿
FigoZhu 2005-09-12
  • 打赏
  • 举报
回复
楼主把最大值设置为300,最小值设置为120。
也就是说Position值超过300,或小于120都会出错。
楼主在检查以下程序吧。

或者把max改大点,或者min改小点。
smiler007 2005-09-12
  • 打赏
  • 举报
回复
min值干嘛要设为120???
konhon 2005-09-12
  • 打赏
  • 举报
回复
可能要設置Position屬性要不小於120吧.
version 3.20-------------+ added interface IfrxFont.+ added IfrxFrame interface+ added IfrxDisplayFormat interface+ added method ResetDataSet into IfrxDataBand interface+ added support of NET streams + fixed OnSaveReport event (added SaveAs argument)+ added IfrxShapeView interface+ added C# example of OnLoadreport and OnSaveReport events.+ added OnLoadreport and onSaveReport events to IfrxDesignerEvents interface+ added IfrxPage interface and GetPage enumerator for IfrxReport+ improved RTF export+ enhanced speed and reduced output file size of PDF export+ added ParagraphGap support in PDF export+ update German resources+ update Turkish resources* AVG function now counts only non-Null values* RichView object is now WYSIWYG* lot of fixes and small updates* fixed IfrxMemmoView interface (added lot of properties - align, color, and etc)* modified OnSaveReport event of TfrxDesigner* property EnableLoadSaveEvents of IfrxDesigner interface splitted to EnableLoadEvent and EnableSaveEvent* updated C++ demo Variable (added lot of comments and emo report changed)* updated C# DataSetDemo example- fixed bug in AddVariable method of TfrxReport interface- fixed bug in RTF export with font style attributes- fixed bug with frames in PDF export- fixed paper size bug- fixed ParagraphGap in PDF export- fixed stack overflow error with report summary band- fixed error with dialog form- fixed big with TProgressBar property out of range on exports of blank page in HTML- fixed bug in PDF export with zero width/height of bitmap- fixed bug with checkbox object- fixed bug with datatree window- fixed error with chart datetime- fixed bug with inspector window in debug mode- fixed undo of password protected report- fixed some dataset problems- fixed ask save changes in designer- fixed PDF export (font color clNone looks as clBlack)

16,748

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 语言基础/算法/系统设计
社区管理员
  • 语言基础/算法/系统设计社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧