PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
WLanguage procedure called by zipExtractDirectory to manage progress bars
Procedure WLanguage (also called "Callback") used by the zipExtractDirectory function to manage the progress of file extraction in the archive.
Example
Archive is zipArchive
// Ouverture d'une archive
IF zipOpen(Archive, "C:\Archives\Archive.zip") = 0 THEN
// Extraction du répertoire "Temp" à la racine de l'arborescence des fichiers de l'archive
zipExtractDirectory(Archive, "Temp", zipDrive, zipOverwrite, ...
zipExtraitRépertoire_Callback, zipExtraitRépertoire_CallbackJauge)
END
 
// Cette procédure permet de gérer la jauge.
INTERNAL PROCÉDURE zipExtraitRépertoire_CallbackJauge(FichierEnCours is string,
AvancementGlobal is int, AvancementFichier is int)
IF AvancementGlobal < 100 THEN
ProgressBar(AvancementGlobal, 100, FichierEnCours)
ELSE
ProgressBar()
END
END
Syntax
zipExtractDirectory_CallbackProgressBar(<Current file> , <Overall progress percentage> , <File progress percentage>)
<Current file>: Character string
Name of the file being processed.
<Overall progress percentage>: Integer
Progress percentage of the extraction of files from the archive.
<File progress percentage>: Integer
Progress percentage of the extraction of the current file from the archive.
Remarks
If you are using a 7z archive, only <Overall progress percentage> is specified. <File progress percentage> will have the same value.
Component: wd270.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment