Delphi code examples

All code was created in Delphi 5 Professional (Win32 code).
Close Index

Delphi components

Components in Delphi are way to develop reusable application code. They relay on object-oriented coding techniques.

Folder search

Folder 'crawler' component. Uses standard Pascal FindFirst/FindNext functions and recursive calls for subfolder crowling.

TreeView

TreeView component extends standard TreeView component for additional data (a simple 'Key -> Value' data structure implementation).

Delphi WinForms coding

Delphi winforms/Paradox DB code. This one-time application generates a database for Palm OS handheld. Data are compressed using Huffman algorithm.

Car agenda application designed in Delphi. Terminology related to WinForms application design and common issues are descibed in this post.

SalesPro application. See notes regarding Client/server architecture issues and terminiology in the article.

Turbo Pascal 5.5 for MS DOS

I started working with Pascal in Delphi's predecessor, Borland Pascal. A page dedicated to project named EPPV includes code examples.

References

The Toronto Delphi User Group is dedicated to the support and education of its members in using Delphi and other products.
Last update: February 2020