1. Technology

2005. Delphi Programming by Zarko Gajic

Delphi Programming Almanac For the Year 2005

By

TMemoBar - T(Custom)Memo extender - 08/30/2005
Full source code of the MemoBar Delphi component. MemoBar can be attached to a T(Custom)Memo component to provide additional info/functionality for a Memo component. TMemoBar displays: current line and column number, position of the textual cursor and the total number of characters. MemoBar adds "GoTo Line" and "overwrite" features to a Memo control.

Understanding and Preventing Memory Leaks in Delphi Applications - 08/23/2005
"Any given program will expand to fill all the available memory!" Is Murphy right? This article provides some common pitfalls and best practices for writing non memory leaking Delphi code.

Folder Size (with full Delphi source) - 08/16/2005
Folder SIZE displays a tree view of subfolders within a folder, number of subfolders (with a Pie Chart of the subfolder disk space usage), subfolder sizes, and the total size of all folder contents. Multithreading makes Folder SIZE super fast. It's free and includes full Delphi source code.

Creating a Delphi Form from a String - 08/09/2005
Here's how to create an instance of a Delphi form, from its name. Example: if a string 'TMyForm' is provided, a new form of type TMyForm should be created ...

Free Screen Ruler (with full Delphi source) - 08/02/2005
Screen RULER allows you to precisely measure anything on your screen. If you need to determine width and/or height of any object on your screen, Screen RULER is the tool to use. Transparency, units in pixels and millimeters and screen snapping are some of the features.

Using RTTI in Delphi - 07/26/2005
Delphi provided Runtime Type Information (RTTI) more than a decade ago. Yet even today many developers aren't fully aware of its risks and benefits. This article provides an overview of the RTTI usage in Delphi for Win32.

Access / SQL Server Database Explorer with full Delphi source code - 07/12/2005
The ADPDBExplorer (About Delphi Programming Database Explorer) application allows you to connect to a Microsoft Access (MDB) database and/or SQL Server / MSDE database to explore a database structure, insert, edit or delete data. Features also include running "free-hand" queries (select, insert, update, etc.) against the database using a simple query builder. A simple master-details relationships builder allows displaying and operating on joined tables.

Using Binding Expressions in Delphi ASP.NET Applications - 07/05/2005
A Beginner's Guide to ASP.NET Programming for Delphi developers: Chapter 20. Find out about data-binding individual properties of a web control. Learn how to data bind "plain" HTML. Explore the magic of <%# BindingExpression %> in ASP.NET.

Installing custom components in Delphi 2005 (Delphi for Win32) - 06/28/2005
In Delphi 2005 custom components are installed in the IDE as packages (BPL files). If you need to install custom component(s), and you have source files (units containing the components), with Delphi 2005 (for Win32) you need to create a package to host the components prior to installing the components in the Tool Palette.

Installing a single source Delphi component into an existing Package - 06/21/2005
If you need to install a third-party (or your own) Delphi component, and you only have a .PAS source file(s), follow this step-by-step tutorial and learn how to add the component into an existing package. This tutorial covers installing components in Delphi for Win32 (Delphi 7).

Don't use Delphi components! Use your own! - 06/14/2005
I'm going to be honest with you: I am not using any of the standard Delphi components when building any kind of a larger application! Find out why...

An Introduction to Data Binding in Delphi ASP.NET Applications - 06/05/2005
A Beginner's Guide to ASP.NET Programming for Delphi developers: Chapter 19. Learn how to add information to a Web Form, by binding controls to a source of data. Learn about data binding Web Controls for selecting choices (ListBox, DropDownList, RadioButtonList, CheckBoxList, etc). Find out about IEnumerable and IList .NET interfaces.

Placing a TProgressBar into a TListView - 05/31/2005
Here's how to add a progress bar (or any other Delphi component) to a ListView control. Plus: full source code to the TListViewEx component (TListView descendant) with ColumnResize events!

"Powered by Delphi" Logo Images - 05/24/2005
A collection of 'Powered by Delphi' logos. Place them on your Web site, your Delphi application splash-screen, about box, help, documentation, and anywhere else you think it might be appropriate.

Understanding ViewState and Postback Processing in ASP.NET applications - 05/17/2005
A Beginner's Guide to ASP.NET Programming for Delphi developers: Chapter 18. Find out what events (and in what order) are generated when ASP.NET receives a request for a Web Form. Learn about the ViewState - a technique ASP.NET uses to maintain page state changes across postbacks.

Simulating multicast events in Win32 Delphi - 05/10/2005
In Win32 Delphi OOP, only one method can be assigned as a handler to a component's event. In Delphi for .Net, multiple event handlers can be bound to the same event. Let's see how to build a Win32 Delphi object that maintains a list of the methods its event(s) is handled by - thus creating a simulation of multicast event handling.

TDBButton - data aware TButton control - 05/03/2005
Learn how to create a data-aware TButton Delphi control. Full source code included.

©2014 About.com. All rights reserved.