On 7-12-2012 21:12, Andrew Brunner wrote: > > On Dec 6, 2012, at 8:57 AM, Donald Ziesig <don...@ziesig.org> wrote: > >> I just got into this thread, but I have been using Delphi since Version 1 >> (and Turbo Pascal back to Version 1 before that). Imo the Min, Max and Pos >> parameters should all be set to the largest integer data type of the >> underlying OS. If this is done, the scaling issue should be taken care of >> automatically. There may be a latent flaw due to streaming of these >> parameters, however. >> >> Don Ziesig > > I think the streaming issue is separate. I honestly, streaming is a non > issue. A developer would have to key in a 2g+ lnteger value. And the ide > editor would have to store said value. Just make leave that be for now. I > just don't see that a a reality for progressbar. > > But typically a progress bar is used in conjunction with streams. Therefore > it should handle the same size as objects like that. On 64bit oses > position/size = 64bits wide. It may seem large but it is not when it > represents a video stream or archive file. On 32bit systems it is 32bits > wide. > > Thanks. Perhaps you could post a bug report with a sample project that demonstrates your problem and a patch.
I suspect that could save some time. Thanks, Reinier -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus