Unit MPDelTreeU |
Classes |
Functions |
Register -
Types |
Constants |
Variables |
Functions |
Types |
TMPDelTreeEvent = procedure ( Sender : TObject ; FileName : TFileName ; SearchRec : TSearchRec ; var Cancel : Boolean ) of objectTMPDelTree : a component to have the behaviour of the good old dos deltree command V1.0 april 06, 1998 freeware (c) by markus stephany , mirbir.st@t-online.de Merkes' Pages = http://home.t-online.de/home/mirbir.st/ (idea by almer tigelaar, almer-t@usa.net ) this is freeware, not pd and may be used in any free, shareware or commercial application usage : properties : Path : TFileName = the root of the tree to be deleted Verbose : Boolean = show a message or not, if any error occurs events : OnProcessFile ( Sender : TObject ; FileName : TFileName ; SearchRec : TSearchRec ; var Cancel : Boolean ) can be assigned to show the progress of the deletion and/or to cancel the operation function : Execute : Boolean = DELTREE , returns true, if the path is deleted (or doesn't exist)
Constants |
Variables |