How to find the amount loaded of a loading file

Hi Bruce,

Well, it seems to me that the most obvious way would be something like this
(This is pseudo-coded. Insert your own functions as necessary):

fs := GetFileSize();

pBar.Min := 0;
pBar.Max := fs;

for ct := 1 to fs do
begin
    GetByteFromFile;
    pBar.CurrValue := ct;
end;

As you read in each character from the file, you simply set the PercBar value to
the nmber of bytes you have read.

 |\/|