1. Tech

Your suggestion is on its way!

An email with a link to:


was emailed to:

Thanks for sharing About.com with others!

Delphi: Most Popular Articles

These articles are the most popular over the last month.
Virtual Key Codes
Symbolic constant names, hexadecimal values, and keyboard equivalents for the virtual key codes used by Windows.
How to Execute and Run Applications and Files...
Executing and Running Applications and Files from Delphi Code.
A Simple Guide to Performing Clipboard...
The Windows Clipboard represents the container for any text or graphics that are cut, copied or pasted from or to an application. This article will show you how to use the TClipboard object to implement cut-copy-paste features in your Delphi application.
Pos function
Delphi's Pos function returns an integer specifying the position of the first occurrence of one string within another.
A Beginner's Guide to Delphi Programming...
A Beginner's Guide to Delphi Programming. Free online programming tutorial / course for beginner developers. Focus on Borland Delphi.
Understanding and Processing Keyboard events in...
Get familiar with the OnKeyDown, OnKeyUp, and onKeyPress Delphi event procedures to respond to various key actions or handle and process ASCII characters along with other special purpose keys.
Everything You Need to Know to Decompile Delphi
Whispering about reverse engineering Delphi applications: 'I have a Delphi program's .exe, can I decompile it and get the source?'. Page 3.
Synchronizing Threads and GUI in Delphi...
Multi-threading in Delphi lets you create applications that include several simultaneous paths of execution. When several threads are running in the application a question arises: how to update your GUI (user interface) as a result of a thread execution. The question lies in the TThread class Synchronize method.
How to Use and Configure ".INI" Files in Delphi
The .INI files have a text-based file format for representing application configuration data in a format which is easily editable by humans and readable by a simple automatic parser. Learn how to use Delphi's TIniFile to read and write INI configuration files.
Exchanging Data over the Network using Delphi
Exchanging Data over the Network using Delphi. In this article we'll examine two Delphi components: TServerSocket and TClientSocket, both designed to let you read and write information over a TCP/IP connection - thus enabling you to write network-aware applications.
How to Create, Parse and Manipulate XML...
Everything you need to know about Delphi and the Extensible Markup Language. Find out about creating and parsing XML documents, look for parser components and more.
A Beginner's Guide to Delphi Database Programming
Free online database programming course for beginner Delphi developers. Focus on ADO techniques.
How to Email Attachments Using Delphi
Send email messages with attachments using Indy and Delphi. Full source code to a simple
Date/Time routines - Delphi Programming
Date/Time Delphi functions and procedures in RTL
Sorting records in Delphi DBGrid by Clicking on...
Sorting records in Delphi DBGrid. How to sort records in Delphi DbGrid by clicking on the column title. Plus: how to change the appearance of the selected column title to reflect the sort order. Even more: how to change the cursor when moving over the DBGrid column titles.
Using the TDBGrid component
Contrary to most other Delphi data-aware controls, the DBGrid component has many nice features and is more powerful than you would have thought. The
Displaying and editing MEMO fiels in Delphi's...
Here's how to show the contents of a MEMO (textual BLOB) field in a TDBGrid. Plus: how to enable editing of a TMemoField's contents using a separate window.
Drop down list (DBLookupComboBox) inside a...
Drop down list (DBLookupComboBox) inside a DBGrid - part 2. Here's how to place a DBLookupComboBox into a DBGrid. Create visually more attractive user interfaces for editing lookup fields inside a DBGrid - place a DBLookupComboBox into a cell of a DBGrid.
Creating a link / url TLabel
Let us improve standard TLabel component, so that it acts like a link in a web page.
How to Read and Customize XML/RSS Files in Delphi
Learn how to read and manipulate XML documents with Delphi using the TXMLDocument component. Let's see how to extract the most current
TColorButton - button with color properties
TColorButton - button with color properties. Full source code of the TColorButton Delphi component, an extension to the standard TButton control, with font color, background color and mouse over color properties.
How to Use 'TDICTIONARY' to Create Hash Tables...
Introduced in Delphi 2009, the TDictionary class, defined in Generics.Collections unit, represents a generic hash table type collection of key-value pairs. In Delphi, the TDictionary is defined as a hash table. Hash tables represents a collection of key-and-value pairs that are organized based on the hash code of the key. Hash tables are optimized for lookups (speed). When a key-value pair is added to a hash table, the hash of the key is computed and stored along with the added pair.
How to Calculate MD5 Hashing for a File or...
The MD5 Message-Digest algorithm is used to check the integrity of files. Learn how to easily create a function to calculate the MD5 hash for a given file.
How to Create and Use DLLs in Delphi
A Dynamic Link library, or DLL, is a collection of routines (small programs) that can be called by applications and by other DLLs. Using Delphi, we can write and use our own DLLs, and we can call functions in DLLs developed with other systems / by other developers. Find out how.
Coloring the TDBGrid Delphi component
Coloring DBGrid. How to enhance the functionality of a TDBgrid component using colors
Understanding and Using Pointers in Delphi
An introduction to pointer data type in Delphi. What are pointers, why, when and how to use them.
Understanding and Using Array Data
The concept of arrays in Delphi is simple: arrays allow us to refer to a series of variables by the same name and to use a number (an index) to tell them apart. Arrays have both upper and lower bounds, and the elements of the array are contiguous within those bounds.
Listening to the Clipboard: Clipboard Delphi...
Extending the clipboard's flexibility and functionality from Delphi. Taking control over the Clipboard with custom formats. Coding Delphi to receive clipboard change notifications.
String Types in Delphi (Delphi For Beginners)
Understanding and managing string data types in Delphi's Object Pascal. Learn about differences between Short, Long, Wide and null-terminated strings.
The History of Delphi
Concise descriptions of Delphi versions and its history, along with a brief list of features and notes. Find out how Delphi evolved from Pascal to a RAD tool that can help you deliver high-performance, scalable applications ranging from desktop and database solutions to mobile and distributed applications for the Internet – not only for Windows but also for Linux and the .NET.
A Guide to Using Drag and Drop Operations in...
Delphi makes it easy to program dragging and dropping into our applications. You can even drag and drop from one form to another.
Adjusting DBGrid column widths automatically
Adjusting Delphi's DBGrid column widths automatically. Here's a handy method to automatically fix the size of TDBGrid columns (at run-time) to fit the DBGrid width (remove the unfilled space at the right edge of the grid; and consequently remove the horizontal scroll bar) when the user resizes the container containing the grid.
Accessing and managing MS Excel sheets with...
Accessing and managing MS Excel sheets with Delphi. How to retrieve, display and edit Microsoft Excel spreadsheets with ADO (dbGO) and Delphi. This step-by-step article describes how to connect to Excel, retrieve sheet data, and enable editing of data (using the DBGrid). You'll also find a list of most common errors (and how to deal with them) that might pop up in the process.
A Quick Guide to Using the "TClientDataSet" in...
Looking for a single-file, single-user database for your next Delphi application? Need to store some application specific data but you do not want to user the Registry / INI / or something else?
Using 'TStopWatch' to View Process Execution...
The TStopWatch Delphi class implements a very accurate process execution timer and provides a set of methods and properties that you can use to accurately measure elapsed time.
Resource Files Made Easy (in Delphi applications)
How Delphi uses standard Windows-format resource files: icons, bitmaps and cursors.
How to Embed Media Files into a Delphi...
Storing more that just code in the application executable file. Working with resources from Delphi. How to embed a WAV, AVI and an MP3 file in a Delphi executable.
The Component Object Model (COM) enables programmers to develop objects that can be accessed by any COM-compliant application. Both OLE and ActiveX are based on COM.
Static vs. Dynamic Dynamic Link Library Loading...
Before you can call routines defined in DLL, you must import them. Functions exported from a DLL can be imported in two ways: by declaring an external procedure or function (static), or by direct calls to DLL specific API functions (dynamic). What should be used when: static or dynamic loading of DLLs in Delphi.
How to Show a Login/Password Before the Main...
If you need to implement some kind of authorization for your Delphi application you might want to display a login / password dialog *before* the main form is created and displayed to the user. In short, the idea would be to create, display, and destroy the
Multithreaded Delphi Database Queries
To speed up data processing, for example, fetching data from the database to create reports, you can add an additional thread to fetch and operate on the result (recordset). Learn about the traps in writing Multithreaded Delphi Database Queries with dbGo (ADO).
Queries with ADO - DB/7
Chapter seven of the free Delphi Database Course for beginners. Take a look at how you can take advantage of the TADOQuery component to boost your ADO-Delphi productivity.
Using 'BPL' and 'DLL' in Delphi Application...
An overview of creating and using 'Borland Package Libraries' and how they compare with 'Dynamic Link Libraries' in creating smaller Delphi applications.
How to Move and Resize Controls at Run Time (in...
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.
SQL in Delphi
Using Structured Query Language in Delphi.
How to Create Windows Service Applications in...
Windows Service applications take requests from client applications, process those requests, and return information to the client applications. They typically run in the background, without much user input. Services can be automatically started when the computer boots, can be paused and restarted, and do not show any user interface.
Store a String (or an Object) Along with a...
There are situations when you want to display a list of strings to the user, for example in the list box control, but also have a way to store one more additional string (or event an object instance) along the one displayed to the user. Here's how when using Delphi.
DBGrid with MultiSelect
DBGrid with MultiSelect. Multiple row selection in Delphi DBGrid - providing the ability to select multiple records within the grid. A Beginner's Guide to Delphi Database Programming: Appendix A.
Understanding Creating, Using, and Closing...
Examining the life cycle of a Delphi Form - the central element of development in Delphi. See what's happening behind events OnCreate, OnActivate, OnShow, OnClose...
How to Get Started with Delphi Programming
About.com's Delphi Programming site (http://delphi.about.com) proudly presents: free online programming tutorials for (beginner) Delphi developers!
PosEx function
Delphi's PosEx function returns an integer specifying the position of the first occurrence of one string within another, where the search starts at a specified position.
The Dark Side of Application.ProcessMessages in...
When programming an event handler in Delphi (like the OnClick event of a TButton), there comes the time when your application needs to be busy for a while, e.g. the code needs to write a big file or compress some data. If you do that you'll notice that your application seems to be locked. Your form cannot be moved anymore and the buttons are showing no sign of life. It seems to be crashed. Application.ProcessMessages might come as a rescue, but you need to know its dark side!
Selecting and highlighting a row in a DBGrid -...
Need to highlight the row behind the mouse cursor in a DBGrid? Here's how to select (make active record) and highlight (change color, font, etc.) a row in a DBGrid as mouse moves around the grid.
Owner vs. Parent in Delphi Applications
The differences between a Delphi component Owner and its Parent explained. Plus: when to use the Controls and Component properties of a Delphi component.
LeftStr function
Delphi's LeftStr function returns a string containing a specified number of characters from the left side of a string.
Understanding Generic Types in Delphi
Generics, a powerful addition to Delphi, were introduced in Delphi 2009 as a new langage feature. Generics or generic types (also know as parametrized types), allow you to define classes that don't specifically define the type of certain data members. Get ready to use Generics.
TreeView with check boxes and radio buttons
TreeView with check boxes and radio buttons. Here's how to add check boxes and radio buttons to a TTreeView Delphi component. Give your applications a more professional and smoother look.
About Delphi Programming - for Novice...
What You Need to Know About Delphi Programming. The purpose of this page is to orient newcomers with an overview of some special features of the About Delphi Programming Web site.
An Expert Guide to Using 'SET' Type Values in...
One of the Delphi language features not found in other modern languages is the notion of sets. Delphi's set type is a collection of values of the same ordinal type. Learn about Delphi sets to better understand Delphi source code.
Introducing Borland Delphi - Page 1/3
A Beginner’s Guide to Delphi Programming: Chapter 1. What is Borland Delphi? Where to download a free version, how to install and configure it.
Exchanging Data over the Network using Delphi -...
Exchanging Data over the Network using Delphi. An introduction to sending data over the network using Delphi and Indy. The article focuses on sending / receiving record data and raw (binary) data using TCP connections.
Learning Object Oriented Programming with Delphi
Free online Borland Delphi OOP Course: Chapter Overview.
Multi-Resolution Delphi Applications
What to keep in mind when scaling Delphi applications (forms) on different screen resolutions.
Understanding Delphi Project Files (.DPR)
Delphi organizes applications into what is called projects. A project is made up of the visual interface along with the code that activates the interface. Each project can have multiple forms, allowing us to build applications that have multiple windows. Find out about Delphi's Project File in this article!
Top 7 Free Delphi Component Sets
Looking for a free source multi-purpose Delphi component collection to add more power to your applications? Look no more, here's a list of the best Delphi component (free with source) sets on the Net!
IfThen function
Delphi's IfThen function returns one of two values, depending on the evaluation of an expression.
Copy function
Delphi's Copy function returns a substring of a string or a segment of a dynamic array.
StringReplace function
Delphi's StringReplace function returns a string in which a specified substring has been replaced with another substring.
How to Share Data Between Apps in Delphi Using...
Learn how to send the WM_CopyData message between two Delphi applications to exchange information and make two applications communicate. The accompanying source code demonstrates how to send a string, record (complex data type) and even graphics to another application.
Advanced Mouse Processing
More sophisticated Mouse techniques. Is mouse Present? Handling OnMouseEnter, OnMouseLeave. Restrict movement, Set Position, Faking clicks, etc.
Adding components to a DBGrid
Adding components to a DBGrid. How to place just about any Delphi control (visual component) into a cell of a DGBrid. Find out how to put a CheckBox, a ComboBox (drop down list box), a DateTimePicker (calendar) and even an Image inside the DBGrid.
Controlling the number of application instances...
Controlling the number of application instances. In this article you'll learn how to 'run-once enable' a Delphi application that can check for its previous (running) instance. Along the process, several techniques of implementing such a check will be discussed; as well as how to bring your already running application to the foreground, if a user tries to run it 'one more time'. By the end of the article you'll have a copy-to-go code to control the behavior of your application's multiple instances: with the option to limit the number of running instances.
Storing Record Data in a BLOB Field
Here's how to store (and retrieve) a record (structure) value into a BLOB field in Delphi database applications.
Return Multiple Values From A Delphi Function
A Delphi function is a routine returning a value. A single value? Yes, No. No, a Delphi function can return multiple values and there are different ways how to achieve this goal. Either rely on VAR (by-reference) parameters or return a record, or something even more complex...
Understanding 'Sender' Parameters in Delphi...
Find out how to exploit the powers of the Sender parameter in Delphi: share event handlers and more.
Delphi ZIP / UNZIP (Compression) Components
A selected collection of open source, free, and commercial Delphi components to help you add ZIP / UNZIP functionality to your application. Compressing and deflating files and directories in well-known formats like ZIP, RAR, TAR, GZIP, CAB will not longer be a missing piece in your Delphi projects!
Delphi Tips, Tricks and Code Snippets
Delphi tips, tricks and code snippets. Looking for a small code sample to help you make something big? It's here!
Understanding Method Overloading and Default...
Extending Delphi functions and procedures with default (optional) parameters and method overloading.
What to Know about Using Record Data Types in...
Learn about records, Delphi's data structure that can mix any of Delphi's built in types including any types you have created.
What You Need Before Starting a New Project in...
I do not know when and where, but long time ago I read the following: "Delphi programming is the mutts
Implementing PING without using raw sockets
Implementing PING without using raw sockets. Implementing Internet pings using Delphi and the Icmp.dll.
Running Delphi Applications With Parameters
How to pass command-line parameters to your Delphi application and how to handle them.
Placing a TProgressBar into a TStatusBar
Placing a TProgressBar into a TStatusBar. Here's how to add a status bar (or any other Delphi component) to a progress bar. Provide visual feedback of application's lengthy operation in the status area of a Delphi form.
Interfaces in Delphi Programming 101
If you are up to creating a rock solid (OOP driven) Delphi application in a way that your code is maintainable, reusable, and flexible the OOP nature of Delphi will help you drive the first 70% of your route. Defining interfaces and implementing them will help with the remaining 30%.
Top 7 Dephi components to access MySQL
An overview of VCL components allowing you to access a MySQL database from Delphi using standard data controls without using BDE/ADO/ODBC. Plus a few MYSQL related tools.
Drop down list inside a DBGrid - part 1 (page...
Drop down list inside a DBGrid - part 1. Here's how to place a drop down pick list into a DBGrid. Create visually more attractive user interfaces for editing lookup fields inside a DBGrid - using the PickList property of a DBGrid column.
Database Table to XML and Back - Using Delphi
Creating XML files from Paradox (or any DB) tables using Delphi. See how to export the data from a table to a XML file and how to import that data back to the table.
Creating Custom Delphi Components, Part I -...
This first part demonstrates some of the best approaches to building components, and at the same time provides tips on deciding on the best base class to inherit from, using virtual declarations, the complexities of overriding, and so on.
ExtractStrings function
Delphi's ExtractStrings function fills a string list with substrings parsed from a delimited list.
How to Populate/Submit Forms Using 'TWebBrowser...
A web form or a form on a web page allows a web page visitor to enter data that is, in most cases, sent to the server for processing. When using the web browser (TWebBrowser) Delphi control you can programmatically fill in web form fields and submit the fom - using Delphi code. Here's how. Page 2.
Free Delphi components - with source
Free components, with code, made by the visitors of the About Delphi Programming community.
Select XML Nodes Into IXMLNodeList Using XPath...
In Delphi, the XPath implementation is included in the xmldom.pas unit. Here's how to wrap XPath's selectNodes into IXMLNode.SelectNodes to get a collection of XML nodes into IXMLNodeList.
BoolToStr function
Delphi's BoolToStr function Returns a string from a boolean value.
QuotedStr function
Delphi's QuotedStr function returns the quoted version of a string.
DateTimePicker inside a DBGrid
DateTimePicker inside a DBGrid. Here's how to place a TDateTimePicker into a DBGrid. Create visually more attractive user interfaces for editing date/time fields inside a DBGrid - place a drop down calendar into a cell of a DBGrid.
Constructing the Database Connection String...
When creating Delphi 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.
Virtual Tree View - How To Install - Delphi 3rd...
Any tree view like component's purpose is to display a hierarchical list of items. A most common one
Web Forms navigation in ASP.NET - Part 1
Web Forms navigation in ASP.NET - Part 1. Exploring navigation techniques between Web Form pages: postbacks, direct navigation (using the <a> tag) and code-based navigation (using Server.Transfer and Response.Redirect).
Make The Enter Key Work Like Tab
Pressing the Tab key moves the input focus to next control and Shift-Tab to previous in the tab order of the form. When working with Windows applications, most users intuitively expect the Enter key to behave like a Tab key.
System Tray Delphi application - Quick and Easy
Placing Delphi applications in the System Tray in easy steps. The perfect place form programs that are left running for long periods of time with no user interaction.
Ordinal and Enumerated Data Types (Delphi For...
Delphi For Beginners: Extend Delphi's built-in types by constructing your own types.
Guide to Dynamic Component Creation (At...
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.
TryStrToInt function
Delphi's TryStrToInt function converts a string to an integer, returns False if string does not represent a valid number.
Everything You Need to Know to Install and Use...
Screen RULER allows you to precisely measure anything on your computer 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.
Open and Save - Creating Notepad
Working with common dialog boxes: Open and Save. How to create my own Notepad using Delphi. Part 1.
Create an Internet Shortcut (.URL) file using...
Unlike regular .LNK shortcuts (that point to a document or an application), Internet Shortcuts point to an URL (web document). Here's how to create an .URL file, Internet Shortcut, using Delphi.
How to Create a Splash Screen in a Delphi...
The most basic splash screen is just an image (more precisely a form with an image) that appears in the center of the desktop screen when the application is loading (and gets hidden when the application is ready for usage).
How to Save Webpages in HTML or MHT in Delphi
Here's how to save a web page displayed inside a WebBrowser (TWebBrowser component) as a raw HTML file or into a single (MHT) file (MHTML format: web archive - single file) programmatically using Delphi.
Transactions in Delphi ADO database development
How many times have you wanted to insert, delete or update a lot of records collectively wanting that either all of them get executed or if there is an error then none is executed at all? This article will show you how to post or undo a series of changes made to the source data in a single call.
RightStr function
Delphi's RightStr function returns a string containing a specified number of characters from the right side of a string.
Adding URL hyperlink functionality to RichEdit
Adding URL hyperlink functionality to RichEdit. Here's how to add URL hyperlink functionality to a TRichEdit component - whenever the text in a RichEdit matches the format of a URL, the control will display it as a hyperlink. Even more: when you click the URL, your Web browser will be launched and the link will be loaded into the browser; or if the URL is a 'mailto:' link, your default email client will be launched, thus enabling you to send e-mail messages 'from' RichEdit.
My IP with Delphi
How to obtain a computer's IP address by using the Socket API and Delphi's Pascal.
Register DLL and ActiveX controls from a Delphi...
Learn how to register and unregister OLE controls such as dynamic-link library (DLL) or ActiveX Controls (OCX) files from a Delphi application.
Owner Drawing The String Grid
For StringGrids with simple content the default drawing action is sufficient, but when various aligns or different colors need to be included in the stringgrid, drawing code must be written in the OnDrawCell event to support owner draw. Owner draw does not need to be specifically set (as one has to with a TListBox), one just places drawing code in the event handler and it is called by the class code after drawing the grid.
Understanding and Using Loops in Delphi
Loops allow you to execute a sequence of statements repeatedly, using a control condition or variable to determine when the execution stops. Delphi has three kinds of control loop: repeat statements, while statements, and for statements. Learn how to use loops in Delphi programming.
Store More (Custom) Data Into The Tree Node Of...
The TTreeView Delphi component displays a hierarchical list of items - tree nodes. A node is presented by node text and an optional image. In real-world applications your tree nodes would need to carry more info: some more properties or even an entire custom object. How to?
Here's how to create a Delphi form from a string.
Create a Delphi form from a string. You do not need to know the exact class type of a form object. By providing a variable, a form can be created from its name.
Pictures inside a database - DB/3 - Page 1/5
Chapter three of the free Delphi database online course. Displaying images (BMP, JPEG, ...) inside an Access database with ADO and Delphi.
Top 7 PDF Managing Tools
Need to create, encrypt or manage PDF (Portable Document Format) files from Delphi? Using the tools and components in this listing you will get powerful control of PDF documents in your applications. PDF is a worldwide standard for electronic documents. It was originally developed by Adobe.
Fundamentals of Database Development (with...
Chapter one of the free Delphi database online course. Delphi as the database programming tool, Data Access with Delphi...just a few words, Building a new MS Access database.
Use Adobe Acrobat (PDF) Files in a Delphi...
Learn how to show an Adobe Acrobat (.PDF) file in a Delphi application, which requires the free Acrobat ActiveX control.
Your first MP3 Delphi player - part 1/4
See how to build a full-blown mp3 player with Delphi in just a few seconds. Even more: get the ID3 tag information from a mp3 file and change it!
Streams, streams, ... TStream
Streams, streams, ... TStream. A stream is what its name suggests: a flowing river of data. A stream has a beginning, an end, and you're always somewhere in between of these two points. Learn about using the TStream class in Delphi: how to use stream objects to read from, write to, or copy information stored in a particular medium.
Delphi Thread Pool Example Using AsyncCalls
With AsyncCalls you can execute multiple Delphi functions at the same time and synchronize them at every point in the function or method that started them. Here's an example project taking advantage of the thread pool implementation with CancelAll and WaitAll.
Monitoring Mouse Activity
Is the mouse over a component? Was a mouse button pressed? Which button was it? Did the user release a button, which one? Exactly where inside the form is the mouse? Did the user move the mouse out of the form into another form?
Multi-Resolution Delphi Apps
What to keep in mind when scaling Delphi applications (forms) on different screen resolutions. Page 2.
Design Your Delphi Program in a Way That it...
When writing long running applications / processes (the kind of programs that will spend most of the day minimized to the task bar or system tray), it can become important not to let the program 'run away' with memory usage. Clean up memory used by your Delphi program using the SetProcessWorkingSetSize Windows API function. Learn how...
Chat application with Delphi source
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.
Customizing the DBNavigator
Customizing the DBNavigator. Enhancing the TDBNavigator component with modified graphics (glyphs), custom button captions, and more. Exposing the OnMouseUp/Down event for every button.
Commenting Delphi code
Commenting Delphi code. Learn the art of helping yourself, when it comes to code maintenance. The purpose of adding comments to Delphi code is to provide more program readability using understandable description of what your code is doing.
Intercepting Keyboard Input with Delphi -...
Intercepting keyboard input for controls that cannot receive the input focus. Working with keyboard hooks in Delphi.
Sizing The ComboBox Drop Down Width - No Cut...
When a combo box is in dropped down state Windows draws a list box type of control to display combo box items for selection. When the length (of a string) of items exceeds the width of the combobox, the items are displayed as cut-off! Here's how to ensure all ComboBox items are visible when drop down list is displayed.
Using 'Version Directives' to Write a Delphi...
Preparing to code with no barriers. See how to overcome the compiler version problem: compiling Delphi code for various Delphi versions.
Listing Windows processes
Listing Windows processes. Getting a list of Window processes and setting memory for return values using Delphi.
Sleep procedure
Delphi's Sleep procedure pauses program execution for a specified number of microseconds
How to Dynamically Add Items (Holding Custom...
How to add menu items to a Menu (or Popup menu) at run-time, how to respond to the OnClick event. Plus: how to extend the TMenuItem to hold custom string property.
Threaded Delphi Tasks In A Thread Pool - OTL...
Having all your background threads running at the same time is not something Windows would be happy with. While Delphi does allow you to easily create a separate thread (by extending the TThread class) it does not provide a thread pool implementation out of the box. The OTL does - here's a sample thread pool for your background tasks implemented in OmniThreadLibrary.
"Powered by Delphi" Logo Images
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 Class Methods
Understanding and using Borland Delphi Class procedures / functions. What they are and how to find a practical use for them.
Get TreeView Node By Text
How to locate a TreeView node given by node text using Delphi
Exporting a TreeView to XML. Populating a...
Here's how to store TTreeView component items to XML (preserving the Text and other properties of a tree node) and how to populate a TreeView from an XML file.
Proportionally Resize an Image - Creating...
Here's an idea for your next application: create a
Understanding Delphi Class (and Record) Helpers
class="no-js" itemscope itemtype="http://schema.org/Article" > itemprop="description" >A feature of the
Power function
Delphi's Power function returns a real number raised any power.
Accessing protected members of a component
Accessing protected members of a component. Many Delphi components have useful properties and methods that are marked invisible ('protected') to a Delphi developer. In this article you will find the workaround to this problem - thus enabling you to access a DBGrid's RowHeights property, for example.
NO GUI Delphi applications - Page 1/2
Creating a console mode application with Delphi; a text-mode program that runs without a graphical interface. Even more: see how to capture the output of a console application in a GUI Delphi program.
Using RTTI in Delphi
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.
Your First MDI Delphi Project
Learn how to create a powerful 'multiple document interface' application using Delphi. A Beginner's Guide to Delphi Programming: Chapter 11.
How to Use 'dbExpress' with Database Applicatio...
Overview of dbExpress, along with a collection of tutorials and articles on building database applications using this data access technology.

©2015 About.com. All rights reserved.