View Single Post
  #910  
Old 11-02-2014, 02:49
altef_4's Avatar
altef_4 altef_4 is offline
Registered User
 
Join Date: Mar 2012
Location: Ukraine
Posts: 361
Thanks: 248
Thanked 1,022 Times in 239 Posts
altef_4 is on a distinguished road
Quote:
Originally Posted by Logrim View Post
And another question... how can i call filenamelabel when the compression is external? i mean compressed with freearc.
if you use ISDone, check this function
Code:
function ProgressCallback(OveralPct,CurrentPct: integer;CurrentFile,TimeStr1,TimeStr2,TimeStr3:PAnsiChar): longword;
CurrentFile is container with current extract file name

e.g.
Code:
 LabelCurrFileName.Caption:='Current File Name:  '+MinimizePathName(CurrentFile, LabelCurrFileName.Font, LabelCurrFileName.Width-ScaleX(100));
this code was taken from original ISDone 0.6 example
Reply With Quote
The Following 2 Users Say Thank You to altef_4 For This Useful Post:
Logrim (11-02-2014), papas (02-09-2016)