Legacy Code
These articles relate to legacy code, that is, code which I no longer support or even work with. You will find some snippets and also full applications. Were possible they are accurate and up to date, however, you may find that newer versions of language or compilers, operating systems and hardware may cause problems running this code.
Simple and very useful Delphi or Pascal function to find files recursively in a given directory.
Legacy CodeCode snippet which will allow a program icon to be displayed in the system tray when the form is minimised.
Legacy CodeThis code will prevent another instance from opening, and pass parameter details (such as file open command) to the existing application.
Legacy CodeThese Pascal procedures will convert an integer to the Roman numeral and a Roman numeral to an integer value.
Legacy CodeThis procedure will load CSV data stored in a file into a StringGrid control for display or processing.
Legacy CodeThis procedure will take a TImage instance loaded with a bitmap, and tile it over the area of the destination. Use for creating seamless background textures on forms or controls.
Legacy CodeThis procedure will get the file size, in bytes, of a specified filename.
Legacy CodeThese procedures will convert the case of a string to Title case, Sentence case or toggle the existing case (convert upper to lower and lower to upper case)
Legacy Code