How To and Why Use Dynamically Created Forms

Posted December 15th @ 9:33 pm by m3Rlin

You almost never need all your application’s forms in memory all the time. To reduce the amount of memory required at load time and load time, you may want to create some forms only when you need to use them. For example, a dialog box needs to be in memory only during the time a [...]

How to Get a Unique File Name

Posted December 15th @ 9:24 pm by m3Rlin

You want to save data to a temporary file but you don’t what to file name to use? Well, this function does all the work for you.

function CreateUniqueFileName(sPath: string): string;
var
chTemp: Char;
begin
repeat
Randomize;
repeat
chTemp := Chr(Random(43) + 47);
[...]

« Previous Entries