Tim TrottTim TrottWelcome to my life


Recursive Find Files in Dephi
Simple and very useful Delphi or Pascal function to find files recursively in a given directory.
nPos Function in Pascal
Return the nth position of search character within a string.
If you think you can, you can. And if you think you can’t, you’re right.Henry Ford
Minimise Delphi Application to System Tray
Code snippet which will allow a program icon to be displayed in the system tray when the form is minimised.
Using Shell Execute in Delphi
Launch files and programs from your code using Delphi.
Prevent Multiple Instances of Delphi Application Running
This code will prevent another instance from opening, and pass parameter details (such as file open command) to the existing application.
Integer to Roman Numeral Conversion in Dephi
These pascal procedures will convert an integer to Roman numeral and a Roman numeral to integer value.
Load CSV Data into a StringGrid in Dephi
This procedure will load CSV data stored in a file into a StringGrid control for display or processing.
Image Tiling in Delphi
This 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.
Delphi Get File Size
This procedure will get the file size, in bytes, of a specified filename.
Delphi String Case Conversion
These 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)