PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
RecycleBinDelete (Function)
In French: CorbeilleSupprime
Displays a confirmation message for deleting a file from the recycle bin. If the user validates, the file is deleted; otherwise, the file remains in the recycle bin.
Example
// -- Button for filling a list
// Displays the elements found in the recycle bin in a list
sMyBinList is string
ListDeleteAll(LIST_Bin)
sMyBinList = RecycleBinListFile()
ListAdd(LIST_Bin, sMyBinList)

// -- Button for deleting the element selected in the list
RecycleBinDelete(LIST_Bin[LIST_Bin])
Syntax
<Result> = RecycleBinDelete(<Name of the file>)
<Result>: Boolean
  • True if the deletion confirmation message was displayed,
  • False otherwise.
<Name of the file>: Character string (with quotes)
Full source name of the file (full path and name of the file). If the file is found several times in the recycle bin, all the files will be deleted.
To delete a single file, the name of the file must be followed by the erase hour in the following format:
<File Name> + TAB + <Erase Time>

This format is returned by RecycleBinListFile.
Components
WINDEVReports and Queries wd230std.dll
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment