How to Create Multiple Directories

Posted December 15th @ 9:20 pm by m3Rlin

The standard MkDir() function can create only one directory, it can not create subdirectories at one time. This function allows you to create multiple directories (directories inside directories). Delphi 4+ have the ForceDirectories() routine which does the same thing. It is declared in the FileCtrl unit.

uses
SysUtils, FileCtrl;

procedure MkDirMulti(sPath: string);
begin
if sPath[Length(sPath)] = [...]

How to Snap a Window to the Screen Edge

Posted December 15th @ 2:00 pm by m3Rlin

WinAMP has this very useful feature. If you drag it to the edge of the screen it will automatically position itself. Sometimes you want to make room on the screen but you don’t want to minimize your program and again you want to see it in full. The only way is the put it in [...]

« Previous Entries