1. Home
  2. Computing & Technology
  3. Delphi Programming

Delphi Programming: Most Popular Articles

These articles are the most popular over the last month.
Network traffic monitor
A free network (Internet / intranet) traffic (download / upload) monitor. Network traffic monitor allows you to quickly and easily examine the network usage of the local computer. Full Delphi source code included.
Virtual Key Codes
Symbolic constant names, hexadecimal values, and keyboard equivalents for the virtual key codes used by Windows.
A Beginner's Guide to Delphi
A Beginner's Guide to Delphi Programming. Free online programming tutorial / course for beginner developers. Focus on Borland Delphi.
Delphi Tips 165 - 168
Delphi tip: Delphi Split / Tokenizer functions
DBGrid to the Max
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 "standard" DBGrid does its job of displaying and manipulating records from a dataset in a tabular grid. However, there are many ways (and reasons) why you should consider customizing the output of a DBGrid...
How to create an Internet Shortcut (.URL) file
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.
Database Programming Course
Free online database programming course for beginner Delphi developers. Focus on ADO techniques.
Running Flash animations with Delphi
Running Flash animations using Delphi. How to display Macromedia Flash animations (swf) inside a Delphi application. Grasp the fundamentals of integrating Macromedia Flash animations and Delphi
How to save a web page as HTML or MHT
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).
Execute External Program, File
Executing and Running Applications and Files from Delphi Code.
Delphi Tips and Tricks
Delphi tips, tricks and code snippets. Looking for a small code sample to help you make something big? It's here!
Sending email messages
Sending email messages. Learn how to send email messages with attachments using Indy and Delphi. Full source code to a simple 'SMTP Mail Sender' application included.
Understanding the TextBox ASP.NET control
Understanding the TextBox ASP.NET control. Taking a quick look at the TextBox ASP.NET web server control - the only control designed for user input. TextBox has several faces: single-line text entry, password entry or multi-line text entry.
Send Data to Another App.
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.
XML and Delphi
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.
Understanding Arrays in Delphi
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.
Accessing and managing MS Excel sheets with Delphi (Page 1/7)
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.
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.
Creating and Using DLLs
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.
Date/Time routines - Delphi Programming
Date/Time Delphi functions and procedures in RTL
Delphi Tips 193 - 196
Delphi tip: Correct date format for SQL
Understanding ViewState and Postback Processing in ASP.NET applications
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.
Hide TaskBar Button (D. 2007)
With Delphi 2007, a new property of the Application object, the MainFormOnTaskbar property controls how Windows taskbar buttons are handled by VCL. The code using SetWindowLong to change the application's window style parameters no longer works. Here's how to hide the Delphi 2007 application taskbar button.
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.
Exchanging Data over the Network using Delphi - Part2
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.
Understanding Pointer in Delph
An introduction to pointer data type in Delphi. What are pointers, why, when and how to use them.
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.
SQL in Delphi
Using Structured Query Language in Delphi.
Accessing "Configuration Settings" files (.INI) with Delphi
How a simple text file can beat Registry in storing a few pieces of application specific configuration data.
Understanding Keyboard Events
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.
Dynamic Link Libraries
Everything you ever wanted to know about DLLs and Delphi but didn't know where to look for answers (or were to afraid to ask)
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.
Delphi OOP Course - Into
Free online Borland Delphi OOP Course: Chapter Overview.
Handling Windows Messages
One of the keys to traditional Windows programming is handling the messages sent by Windows to applications. Handling Windows Messages the Delphi way!
ScreenThief - stealing screen shots over the Network
A free network screen shot grabber application, with source code. Learn how to send / receive raw (binary) data (screen shot images) using TCP connections.
Uploading files to a web server with ASP.Net
Let's enable uploading of binary files from a client browser to the web server in ASP.Net web applications. Delphi for .Net and ASP.NET provide an easy way to accept files from the client using HTMLInputFile ('HTML File Upload' HTML server control) and HTTPPostedFile classes.
Working with GIF images in Del
Working with GIF images in Delphi. Need to display an animated GIF image in a Delphi application? Even though Delphi does not natively support GIF image files formats (like BMP or JPEG) there are a few great (free source) components available on the Net, which add the ability to display and manipulate GIF images at run as well as at design time to any Delphi application.
Inside the (Delphi) EXE
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.
TClipboard.Cut-Copy-Paste
Working with the Windows Clipboard from a Delphi application - basic operations: Cut, Copy and Paste.
Connecting to a database. BDE? ADO? - DB/2 - Page 1/4
Chapter two of the free Delphi database online course. How to connect to an Access database - the UDL file? Looking forward: the smallest ADO example.
Fundamentals of Database Development (with Delphi) - DB/1 - Page 1/2
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.
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!
Delphi Tips 173 - 176
Delphi tip: How to split a string into an array
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).
Decompiling Delphi
Whispering about reverse engineering Delphi applications: 'I have a Delphi program's .exe, can I decompile it and get the source?'
CheckBox inside a DBGrid
Adding components to a DBGrid. Here's how to place a check box into a DBGrid. Create visually more attractive user interfaces for editing boolean fields inside a DBGrid.
Binding the DataList ASP.NET Control with Dynamic Templates (in Delphi Web Applications)
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.
Keyboard Hook For Components
Intercepting keyboard input for controls that cannot receive the input focus. Working with keyboard hooks in Delphi.
Emaill Courses
Each online course is sent to you via email on a daily or weekly basis and is designed to help you learn a specific Delphi programming skill or solve a particular problem in Delphi. There are no grades or degrees, only a whole lot of free online learning.
Accessing and managing MS Excel sheets with Delphi (Page 2/7)
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.
Creating your first 'Hello World' Delphi Application - Page 1/3
An overview of application development with Delphi, including creating a simple project, writing code, compiling and running a project. Also, find out how to ask Delphi for help.
Sorting records in Delphi DBGrid by Clicking on Column Title
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.
Intro to the Delphi Language
An introduction to Delphi Pascal. Before you start developing more sophisticated applications by using the RAD features of Delphi, you should learn the basics of the Delphi Pascal language.
Registering DLL and ActiveX controls from code
How to register (and unregister) OLE controls such as dynamic-link library (DLL) or ActiveX Controls (OCX) files from a Delphi application.
Using TClientDataSet
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?
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.
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.
Accessing and managing MS Excel sheets with Delphi (Page 3/7)
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.
Access / SQL Server Database Explorer with full Delphi source code
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.
All the Delphi RTL Quick Reference - Delphi Programming
All the Delphi RTL (run time library functions and procedures) Quick Reference
Go 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.
Fundamentals of Database Development (with Delphi) - DB/1 - Page 2/2
Chapter one of the free Delphi database online course.
Managing Ascii (Text) Files
Reading and writing to text (ascii) files using Delphi code. Find out how to read a line by line of a txt file and how to write some data back to the file.
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.
Introducing Borland Delphi - Page 2/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.
Dodge Game
Here's another simple yet addictive game written in Delphi. Dodge game has a simple rule: collect the blue squares, avoid the red dots. A great way to learn controlling the mouse :) Dodge game - full source code included!
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.
Record (Struct) Type in Delphi
Learn about records, Delphi's data structure that can mix any of Delphi's built in types including any types you have created.
Code For Fame and Glory
If you are like me, you like experimenting - creating pieces of Delphi code just to learn something new and create something interesting. If nothing else, to amaze your coworkers / family / yourself. Here's a Delphi contest for you: create a fancy Delphi application or just a piece of Delphi code! For Fame and Glory.
Drag 'n' Drop in VCL
Delphi makes it easy to program dragging & dropping into our applications. We can even drag and drop from one form to another or from Windows Explorer to our application, or from-to what ever we want, as you will see.
A journey through the Delphi IDE - Page 1/2
A quick journey through the main parts and tools of the Delphi integrated development environment.
Exporting a TreeView to XML. Populating a TreeView from XML
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.
Using Callback Functions
Simply put, a callback function is a routine in your program that Windows calls. A good example of a Windows API functions that require callback functions are enumeration functions. LEarn how to use Windows Callback in Delphi applications.
Coloring the TDBGrid Delphi component
Coloring DBGrid. How to enhance the functionality of a TDBgrid component using colors
Base Conversions
Borland Delphi functions for converting Int to Bin, Int to Hex, Int to Roman and vice versa.
Virtual Key Code To Character
Windows defines special constants for each key the user can press. The virtual-key codes identify various virtual keys. In Delphi, the OnKeyDown and OnKeyUp events provide the lowest level of keyboard response. To use OnKeyDown or OnKeyUp to test for keys the user presses, you must use Virtual key codes to get the key pressed. Here's how to translate the virtual key code to the corresponding Windows character.
UDP vs. TCP
Everybody is quite familiar with TCP. Most do know UDP and think it’s an inferior protocol, as it does not ensure that the data bytes sent will arrive at the other site. Thus, UDP imposes less network overhead than TCP and gives the programmer more freedom and more labor by forcing him to deal with the security of the data transport himself.
Filename Extensions in Delphi
List of the file extensions created (and used) by Delphi and what they all mean.
Run with Parameters
How to pass command-line parameters to your Delphi application and how to handle them.
Understanding Class Methods
Understanding and using Borland Delphi Class procedures / functions. What they are and how to find a practical use for them.
Connecting to a database. BDE? ADO? - DB/2 - Page 2/4
Chapter two of the free Delphi database online course.
Resource Files Made Easy (in Delphi applications)
How Delphi uses standard Windows-format resource files: icons, bitmaps and cursors.
My IP with Delphi
How to obtain a computer's IP address by using the Socket API and Delphi's Pascal.
BPL vs. DLL
An overview of creating and using 'Borland Package Libraries' and how they compare with 'Dynamic Link Libraries' in creating smaller Delphi applications.
Handling Errors and Exceptions
Unfortunately, building applications includes coding. Regardless of how carefully you write/debug your program, it will be impossible to imagine every situation that can go wrong. Learn how to handle errors and exceptions in Delphi applications.
ASP.NET Tutorial
A Beginner's Guide to ASP.NET Programming for Delphi developers. Free online programming course for Delphi .Net beginner developers. Focus on ASP.NET Web development.
Connecting to a database. BDE? ADO? - DB/2 - Page 3/4
Chapter two of the free Delphi database online course.
Use Adobe Acrobat (PDF) Fil...
Let's see how to to show an adobe acrobat (.pdf) file in a delphi application.
Free Screen Ruler (with full Delphi source code)
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.
Listing Windows processes
Listing Windows processes. Getting a list of Window processes and setting memory for return values using Delphi.
Delphi Tips 213 - 216
If you need to save the contents of a specified URL to a file - and be able to track the download progress, use the TDownLoadURL Delphi action
RGB To HSB (HSV)
Here's a function to convert a RGB color value to a HSV color using Delphi.
Keyboard Hooks (with Example)
This document describes what Windows hooks are and how to use them within a Delphi application.
Searching for Files / Folders
Stop. This is the one and only solution to file searching. Use Delphi to find any file in any directory and/or subdirectory that match a certain mask. Start searching.
Big Brother Code Toolkit 1
Going undercover with Delphi: hiding from the task list, disabling task-switch, removing from the TaskBar, disabling Windows shut down, ...
System Tray Delphi application - dirty and effective
Once you have placed a Delphi program's icon in the Tray, it's time to show a (customized) pop up menu near the icon and have the icon reflect the stat of your application - even animate it if you want to!
DateTime Format for Access SQL
Fixing the "Parameter object is improperly defined. Inconsistent or incomplete information was provided" error when formatting date time values for SQL queries when using Access and Delphi.
Guide to dbExpress
One of data connectivity options in Delphi is dbExpress. This articles provides an overview of dbExpress along with a collection of tutorials and articles on building database applications using this light-weight, cross-platform data access technology.
Accessing and managing MS Excel sheets with Delphi (Page 6/7)
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.
Parse TAB Delimited Files
TAB delimited text files contain lines of code with each chunk (column) of data (string) separated by the TAB character. Most database and spreadsheet programs are able to read or save data in a delimited format. Here's how to parse TAB delimited files in Delphi.
For, Repeat & While 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.
An introduction to Data-Bound ASP.NET List Controls
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.
Connecting to a database. BDE? ADO? - DB/2 - Page 4/4
Chapter two of the free Delphi database online course.
Storing and Calling an MDI Child Form from a DLL in Delphi applications
Need to modularize your application? Learn how to place a Delphi MDI child form into a dynamic link library (DLL) and how to display the child form inside an MDI parent window. Surprise: this is only possible when using run-time packages!
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.
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.
Custom Component Development
Everything about creating custom components in Delphi. The ultimate source.
Learn about: properties, events and Delphi Pascal - Page 1/2
Create your second simple Delphi application allowing you to learn how to place components on a form, set their properties, write event handler procedures to make components cooperate together.
Examining Control-Passing ASP.NET Web Controls: Button, ImageButton and LinkButton
Examining Control-Passing ASP.NET Web Controls. There are several web controls that enable passing of control back to the Web Server. This chapter explores web buttons - specific components that allow users to indicate that they are finished with the Web Form (post the data) or want to perform a particular command (on the server). Learn about ASP.NET's Button, LinkButton and ImageButton web controls.
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.
Accessing and managing MS Excel sheets with Delphi (Page 4/7)
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.
Learn about: properties, events and Delphi Pascal - Page 2/2
Create your second simple Delphi application allowing you to learn how to place components on a form, set their properties, write event handler procedures to make components cooperate together.
Drop down list inside a DBGrid - part 1 (page 1/2)
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.
Delphi Tips 245 - 248
Delphi tip: Here's how to enable downloading files from the server from an asp.net (aspx) page.
Drop down list (DBLookupComboBox) inside a DBGrid - part 2 (Page 1/2)
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.
NO GUI Delphi applications - Page 2/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.
A more powerful Delphi Form - page 2/2
Messing with the creation process of a form object, or how to change the default style of a window when it gets created to suit your particular needs.
Initialize Constant Arrays
Sometimes you need to declare a constant array in Delphi - a read-only array. You cannot change the value of a constant or a read-only variable. Therefore, while declaring a constant array you have to initialize it. Here are a few examples of declaring and initializing constant arrays in Delphi...
Delphi: "File Of Type"
Working with binary files from Delphi. Use Delphi to manage writing, reading and updating your own types of files.
Pictures inside a database - DB/3 - Page 2/5
Chapter three of the free Delphi database online course. Displaying images (BMP, JPEG, ...) inside an Access database with ADO and Delphi.
Get current URL from IE - page 1/2
Here's how to retrieve the full URL of all opened Internet Explorer instances
Borland Delphi 7 Studio
Borland Delphi 7 Studio: Released! Extra, Extra, read all about it! All about NEW features in the next generation design-to-deploy e-business development tool: Borland Delphi 7 Studio.
Drop down list (DBLookupComboBox) inside a DBGrid - part 2 (Page 2/2)
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.
Turbo Delphi Tutorial
Turbo Delphi series of tutorials is oriented to those who want to take their chance in the world of software development, it is designed to teach the complete beginner (read: "non-programmer") how to become a programmer using Delphi.
How to Move and Resize Controls at Run Time (in Delphi applications)
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.
Using TRegistry
Some basic facts and code samples on using Delphi and the Windows Registry database.
Delphi Programming Tips 13 ...
Delphi tip: Using the RunOnce Registry Key
Get Files From Net
Learn how to programmatically download a web document from the Internet using Delphi and WinInet API.
Controlling the number of application instances (Page 2/4)
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.
Functions and Procedures
Have you ever found yourself writing the same code over and over to perform some common task within event handlers? Yes? It's time for you to learn about programs within a program. Let's call those mini programs subroutines.
Pictures inside a database - DB/3 - Page 3/5
Chapter three of the free Delphi database online course. Displaying images (BMP, JPEG, ...) inside an Access database with ADO and Delphi.
Pos function
Delphi's Pos function returns an integer specifying the position of the first occurrence of one string within another.
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.
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!
What does #13#10 stand for?
You've certainly seen "#13#10" many times in Delphi source code. If you are wondering what those character stand for, here's the answer...
Your first MP3 Delphi player - part 3/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!
Delphi Tips 237 - 240
Delphi tip: How to select all rows (records) in a DBGrid from code
Enumerating available SQL Servers. Retrieving databases on a SQL Server.
Enumerating available SQL Servers. Retrieving databases on a SQL Server. Here's how to create your own connection dialog for a SQL Server database. Full Delphi source code for getting the list of available MS SQL Servers (on a network) and listing database names on a Server.
Creating your first 'Hello World' Delphi Application - Page 2/3
An overview of application development with Delphi, including creating a simple project, writing code, compiling and running a project. Also, find out how to ask Delphi for help.
Birth, Life, Death of a Form
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...
Understanding Delphi SETs
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.
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.
Monitoring System Shell Changes using Delphi - page 1/3
Monitoring System Shell Changes using Delphi. Wanna get notified when a file gets created, renamed or deleted on the system? Need to know the exact folder and file name? Let's start monitoring system shell changes! What a great extension to your
ADO + mySQL ConnectionString
If your database choice is mySQL and you are using dbGO (ADO) components, over the mySQL ODBC 3.51 driver, this is how your TADOConnection's ConnectionString property should look ...
Creating Components at RunTime
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.
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.
AI Delphi Game Example
A Simple example of Artificial Intelligence using Delphi. The article explores Delphi approach to AI, using the pebble picking game. A simple game is used to show how computer can learn by correcting mistakes.
Parse Delimited String
There are many times when you need to split a Delphi string into an array of strings by using a character as a separator. Delphi provides several methods to parse a string, but you might find that neither one does exactly what you need. Here's how to write a "ParseDelimited" method of your own.
Add !DocType to a XMLDocument
Delphi's implementation of the TXMLDocument component, which basically uses Microsoft XML parser by default, does not provide a way to add a node of the "ntDocType" (TNodeType type). Here's how to solve this problem.

Explore Delphi Programming

More from About.com

  1. Home
  2. Computing & Technology
  3. Delphi Programming

©2008 About.com, a part of The New York Times Company.

All rights reserved.