TIP: Click on subject to list as thread! ANSI
echo: delphi
to: PETER COLLIS
from: OLE ALMIND MORTENSEN
date: 1996-09-29 15:43:00
subject: TProgressBar component

Hej Peter!
Fredag 13. September 1996 kl.10:26 skrev Peter Collis til All:
 PC> assume the range checking code inside the object is still set at
 PC> 32,767 and is raising the error.
 PC> Is this a bug or am i expecting to much.
This must be a "Major" bug. The value assigned to the program is a Word value 
(65535). :(
This I found in the Comctrls.pas
=== Cut ===
TProgressRange = 0..65535; // max & position limitation of Progess Bar
=== Cut ===
 PC> [Later]
 PC> I've got around this by setting the max property to 100 and writing a
 PC> function that calculates the percentage from the filesize and current
 PC> position values.
Still that ain't the optimal solution.
  Mvh. Ole
  Team S.A.R.R.
--- GoldED/386 2.51.A0901+
---------------
* Origin: Nightcall Point (2:237/10.150)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.