ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Recycle Bin functions
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
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 Box control
// Display the elements of the recycle bin in a List Box control
sMyBinList is string
ListDeleteAll(LIST_Bin)
sMyBinList = RecycleBinListFile()
ListAdd(LIST_Bin, sMyBinList)
 
// -- Button for deleting the element selected in the List Box control
RecycleBinDelete(LIST_Bin[LIST_Bin])
Syntax
<Result> = RecycleBinDelete(<File name>)
<Result>: Boolean
  • True if the deletion confirmation message was displayed,
  • False otherwise.
<File name>: Character string
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.
Component: wd290std.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help