The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



RemoveSelectedFolder


Unit: SDL_foldertree
Class: TFolderTree
Declaration: function RemoveSelectedFolder: boolean;

The function RemoveSelectedFolder deletes the selected folder and returns TRUE if the folder has been successfully removed. Please note that the selected folder has to be empty in order to be removable, i.e. the selected folder must not contain any files nor any subdirectories.

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): foldertree



Last Update: 2013-Jun-01