All of your favorite Delphi tutorials, articles, tips and tricks, VCL top picks, tool reviews, source code projects on Delphi Programming and a lot more, sorted by date.
Delphi Programming Almanac 2005
A First Look at (Borland Developer Studio) Delphi 2006 - 12/27/2005
Borland Developer Studio 2006, the most productive, complete, and reliable Windows RAD environment ever! Delphi for Win32 development, Delphi for .NET, C# Builder and C Builder in one box. Read about the cool new features and improvements.
Delphi Drawing Snowflakes over your Desktop Screen - 12/20/2005
It's time for a little winter joy! Amaze your co-workers: "Snowflakes" application randomly draws and moves snowflake images over your Desktop screen. While having some fun, learn how to create transparent, top-most and caption-less with no taskbar button forms that randomly move over your screen. Full source code included.
Binding the DataList ASP.NET Control with Dynamic Templates - 12/13/2005
A Beginner's Guide to ASP.NET Programming for Delphi developers: Chapter 22. Learn how to programmatically implement the ITemplate interface to dynamically create the ItemTemplate content for a DataList Web Server control.
How to Display a Progress Bar for a TBatchMove Operation - 12/06/2005
Learn how to use the TBDECallback object to display a progress bar for a lengthy TBatchMove operation.
How to Create a Stub Program to support Self-Extracting Archives using Delphi - 11/29/2005
To create a self-extractor, you need a special little .exe called a *stub*. This stub gets pulled into the final .exe (self-extracting) file and does the extraction work for you. Learn how to build one using Delphi.
How to Display Menu Item Hints in Delphi applications - 11/22/2005
By (Windows) design, in Delphi applications, hints assigned to menu items do not get displayed in the popup tooltip window (when the mouse hovers over a menu). To mimic the Windows Start menu or the Favorites menu of the Internet Explorer (and display hints for menu items) you must create your own hint window. Here's how...
TTaskBarMenu - Windows TaskBar Custom Menu Component - 11/15/2005
When a user right-clicks the taskbar button a system menu gets displayed for the application. To be able to fully customize the menu that appears when the Taskbar button is clicked and still operate on the TMenuItem objects you might need a custom menu component ...
How to dynamically set event handling procedures to controls NOT being inherited from a common ancestor - 11/08/2005
If a control that can be moved or resized at run-time has event handlers that handle the OnClick event and/or general mouse events such as OnMouseDown, etc., the code that moves or resizes the control needs to temporarily replace those handlers with "special" methods and restore the original handlers when the move or resize operation is complete.
How to Add Size Handles to Controls being Resized at Run-Time - 11/01/2005
When you allow a user to move and resize controls on a Delphi form, at run-time using the mouse, to fully mimic the design-time environment, you should add eight size handles to the control being resized. Here's how.
How to Move and Resize Controls at Run Time - 10/25/2005
While in most situations you will arrange all the controls on a Delphi form in a "fixed" position, there are situations where you need to allow a user to change the placement and dimension of controls at run-time. Here's how to enable dragging and resizing controls with mouse, while the application is running.
Constructing the Database Connection String Dynamically at Run Time - 10/18/2005
When creating database applications that are to be run on various machines, the connection to the data source should not be hard-coded in the executable. This article (with the sample project) shows how to store database connection parameters (server and database name) in Registry and how to build the ConnectionString dynamically.
Chat application with Delphi source - 10/11/2005
Full Delphi source code to a simple Chat application. Learn how UDP (User Datagram Protocol) broadcast can be used to find partners with unknown IP addresses in the network.
Top 10 Fun Reasons why you Should Stop Using Delphi, now! - 10/04/2005
I don't know about you, but I've seen too many newsgroups/forum posts that state/ask something like "Is Delphi dying?" or "Delphi has no future", and similar.
An introduction to Data-Bound ASP.NET List Controls - 09/27/2005
A Beginner's Guide to ASP.NET Programming for Delphi developers: Chapter 21. First steps in using the Repeater ASP.NET web server control. Learn how to data bind multi-record controls. Understanding the DataBinder class and the DataBinder.Eval method.
A warning on dynamically instantiating Delphi components - 09/20/2005
If you want to dynamically instantiate a Delphi component and explicitly free it sometime later, always pass nil as the owner. Failure to do so can introduce unnecessary risk, as well as performance and code maintenance problems. Read the article to learn more...
CD Control - 09/13/2005
A simple Windows Tray application to enable a user to open and close the CD drive using a custom Windows hot-key combination. Full Delphi source included. The source is heavily documented to help newbies better understand how each line of code works.
Creating Components Dynamically (at Run-Time) - 09/06/2005
Most often when programming in Delphi you don't need to dynamically create a component. If you drop a component on a form, Delphi handles the component creation automatically when the form is created. This article will cover the correct way to programmatically create components at run-time.