Subscribe: About.com Delphi Programming: Most Popular Articles
http://z.about.com/6/o/m/delphi_p2.xml
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
application  applications  component  create  data  delphi application  delphi  file  files  learn  programming  user  windows 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: About.com Delphi Programming: Most Popular Articles

About.com Delphi: Most Popular Articles



These articles are the most popular over the last month.



Published: Thu, 08 Dec 2016 11:14:01 +0000

 



Here are the Top Virtual Key Codes Used by...

2016-12-08T11:14:01Z

Learn symbolic constant names and keyboard equivalents for the virtual key codes used by Windows. How to enhance the functionality of a TDBgrid component.



Using the TDBGrid component

2016-12-08T11:14:01Z

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



What You Need Before Starting a New Project in...

2016-12-08T11:14:01Z

I do not know when and where, but long time ago I read the following: "Delphi programming is the mutts



How to Execute and Run Applications and Files...

2016-12-08T11:14:01Z

Have you ever needed to open documents in a file listbox, just by double clicking on them, without opening the associated program first? Learn how.



How to Create and Use DLLs in Delphi

2016-12-08T11:14:01Z

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.



How to Use 'TDICTIONARY' to Create Hash Tables...

2016-12-08T11:14:01Z

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.



Understanding and Using Array Data

2016-12-08T11:14:01Z

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.



Static vs. Dynamic Dynamic Link Library Loading...

2016-12-08T11:14:01Z

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.



A Beginner's Guide to Delphi Programming...

2016-12-08T11:14:01Z

A Beginner's Guide to Delphi Programming. Free online programming tutorial / course for beginner developers. Focus on Borland Delphi.



How Do I Change the Color of a Column in a...

2016-12-08T11:14:01Z

Learn all about coloring DBGrid. Learn how to enhance the functionality of a TDBgrid component using colors to distinguish yourself from others.



Working with GIF images in Delphi

2016-12-08T11:14:01Z

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.



Return Multiple Values From A Delphi Function

2016-12-08T11:14:01Z

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...



Monitoring Mouse Activity

2016-12-08T11:14:01Z

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?



Understanding and Processing Keyboard events in...

2016-12-08T11:14:01Z

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.



Understanding Memory Allocation in Delphi

2016-12-08T11:14:01Z

When you start programming in Delphi you might get errors like



Create your own Windows Explorer using Delphi's...

2016-12-08T11:14:01Z

The Win 3.1 Delphi components palette group includes several components that enable us to build our own custom File Open or File Save dialog box. The components are TFileListBox, TDirectoryListBox, TDriveComboBox, and TFilterComboBox. Let's see how we can build a simple File Navigating dialog box with these components and just a few lines of code.



How to Use and Configure ".INI" Files in Delphi

2016-12-08T11:14:01Z

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.



About Delphi Programming For Novice Developers

2016-12-08T11:14:01Z

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.



How to Get Started with Delphi Programming

2016-12-08T11:14:01Z

About.com's Delphi Programming site (http://delphi.about.com) proudly presents: free online programming tutorials for (beginner) Delphi developers!



What to Know about Using Record Data Types in...

2016-12-08T11:14:01Z

Learn about records, Delphi's data structure that can mix any of Delphi's built in types including any types you have created.



A Simple Guide to Performing Clipboard...

2016-12-08T11:14:01Z

This article will show you how to use the TClipboard object to implement cut-copy-paste features in your Delphi application.



Store More (Custom) Data Into The Tree Node Of...

2016-12-08T11:14:01Z

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?



How to Dynamically Add Items (Holding Custom...

2016-12-08T11:14:01Z

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.



How to Email Attachments Using Delphi

2016-12-08T11:14:01Z

Send email messages with attachments using Indy and Delphi. Full source code to a simple



Multithreaded Delphi Database Queries

2016-12-08T11:14:01Z

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).



Understanding Delphi Project Files (.DPR)

2016-12-08T11:14:01Z

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!



Synchronizing Threads and GUI in Delphi...

2016-12-08T11:14:01Z

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.



Dynamic Link Libraries (DLL) and Delphi

2016-12-08T11:14:01Z

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)



Simple HTML page Scraping with Delphi

2016-12-08T11:14:01Z

class="no-js" itemscope itemtype="http://schema.org/Article" > itemprop="description" >The idea of this



Understanding and Using Attributes in Delphi

2016-12-08T11:14:01Z

Along with the extended RTTI in Delphi 2010, a new language feature was introduced: Attributes. Attributes are a language feature in Delphi that allows annotating types and type members with special objects that carry additional information. A few examples to get you started...



AutoFit the Columns in the TDBGrid Delphi...

2016-12-08T11:14:01Z

class="no-js" itemscope itemtype="http://schema.org/Article" > itemprop="description" >Users accustomed



How to Use 'dbExpress' with Database Applicatio...

2016-12-08T11:14:01Z

Overview of dbExpress, along with a collection of tutorials and articles on building database applications using this data access technology.



Owner vs. Parent in Delphi Applications

2016-12-08T11:14:01Z

The differences between a Delphi component Owner and its Parent explained. Plus: when to use the Controls and Component properties of a Delphi component.



How to Add a Popup Menu to TRichEdit in Delphi

2016-12-08T11:14:01Z

Delphi's implementation of the rich editor control (TRichEdit) does *not* expose the default context popup menu when the rich edit is right-clicked. Here's how to implement the default context popup for a rich edit control



Top 7 Dephi components to access MySQL

2016-12-08T11:14:01Z

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.



How Do You Manage Excel Sheets with Delphi and...

2016-12-08T11:14:01Z

Learn about placing Delphi applications in the System Tray in easy steps. The perfect place form programs can run for a long time without user interaction.



Top 7 PDF Managing Tools

2016-12-08T11:14:01Z

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.



Highlighting Delphi's DBGrid Row On Mouse Hover

2016-12-08T11:14:01Z

What most Delphi developers are not aware of, is that you can even implement the OnMouseHover behavior to change the display (color, font, etc.) of the DBGRid's (data) row underneath the mouse - thus making it look like todays web driven interfaces.



Understanding Generic Types in Delphi

2016-12-08T11:14:01Z

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.



Group Items in Delphi's TListView Control

2016-12-08T11:14:01Z

The TListView Delphi control displays and manages a list of items, displayed in columns, vertically or horizontally, with small or large icons. If you are using Delphi 2007, Delphi 7 or any other previous version, you can also have grouping (with expand, collapse) functionality in the TListView control. Here's one implementation idea.



Understanding and Using Pointers in Delphi

2016-12-08T11:14:01Z

An introduction to pointer data type in Delphi. What are pointers, why, when and how to use them.



Understanding Delphi Class (and Record) Helpers

2016-12-08T11:14:01Z

class="no-js" itemscope itemtype="http://schema.org/Article" > itemprop="description" >A feature of the



A Guide to Using Drag and Drop Operations in...

2016-12-08T11:14:01Z

Delphi makes it easy to program dragging and dropping into our applications. You can even drag and drop from one form to another.



How to Hook the Mouse to Catch Events Outside...

2016-12-08T11:14:01Z

Learn how to track the mouse activity even when your application is not active, sits in the Tray or does not have any UI at all. By installing a system wide (or global) mouse hook you can track what the user is doing with the mouse and act accordingly.



Understanding Method Overloading and Default...

2016-12-08T11:14:01Z

Extending Delphi functions and procedures with default (optional) parameters and method overloading.



How to Calculate MD5 Hashing for a File or...

2016-12-08T11:14:01Z

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.



Have Two Applications In One Delphi Program...

2016-12-08T11:14:01Z

Creating a new Delphi (VCL, FMX) application would result in creating a single application (program) where all the units and forms used in the program would be compiled/linked into a singe executable file. If you would like to have the same code base in one program but also have an option to build two (or more) different applications - you should be looking at Delphi's conditional compilation.



A Quick Guide to Using the "TClientDataSet" in...

2016-12-08T11:14:01Z

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?



What Is Delphi's Pos Function?

2016-12-08T11:14:01Z

Delphi's Pos function returns an integer specifying the position of the first occurrence of one string within another.



Using Source Code for the TColorButton Delphi...

2016-12-08T11:14:01Z

Full source code of the TColorButton Delphi component, an extension to the standard TButton control, with font color and background color.



Store a String (or an Object) Along with a...

2016-12-08T11:14:01Z

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.



Create your own Database using Delphi's "File...

2016-12-08T11:14:01Z

Working with binary files from Delphi. Use Delphi to manage writing, reading and updating your own types of files.



Implement a Button with a Drop Down (Popup) Menu

2016-12-08T11:14:01Z

class="no-js" itemscope itemtype="http://schema.org/Article" > itemprop="description" >A "Button with



Delphi Record Helpers For Sets and Other Simple...

2016-12-08T11:14:01Z

The Understanding Delphi Class (and Record) Helpers article introduces a feature of the Delphi language allowing you to extend the definition of a class or a record type by adding functions and procedures (methods) to existing classes and records without inheritance. In XE3 Delphi version, record helpers became more powerful by allowing to extend simple Delphi types like strings, integers, enums, sets and alike. Here's a sample helper for a set of bytes.



Crypting Your Delphi Application INI (Configura...

2016-12-08T11:14:01Z

In most of my Delphi applications I'm using INI files to store configuration options. For one particular situation I wanted to somehow hide the content of the INI file. Yes, INI files are not to be used to store critical data, but in this case I only simply wanted to have a no-eye situation. Let's see how to crypt and uncrypt INI files.



Everything You Need to Know to Decompile Delphi

2016-12-08T11:14:01Z

Whispering about reverse engineering Delphi applications: 'I have a Delphi program's .exe, can I decompile it and get the source?'. Page 3.



Develop Delphi programs in Windows API (Without...

2016-12-08T11:14:01Z

A guide to developing Delphi programs in Windows API (without the use of the VCL). Free online programming course for intermediate/advanced Delphi developers. Focus on raw Windows API programming.



Message in the Bottle

2016-12-08T11:14:01Z

One of the keys to traditional Windows programming is handling the messages sent by Windows to applications. Handling Windows Messages the Delphi way!



How to Sort Records in Delphi DBGrid

2016-12-08T11:14:01Z

How to sort records in Delphi DbGrid by clicking on the column title. Plus: how to change the appearance of the selected column title with sort order.



Tools to Help You Create Complex Reports Linked...

2016-12-08T11:14:01Z

These top Delphi reporting tools easily create complex reports that directly link to a Delphi EXE. The tools include a report engine, report designer, and a previewer.



A Beginner's Guide to Delphi Database Programming

2016-12-08T11:14:01Z

Free online database programming course for beginner Delphi developers. Focus on ADO techniques.



Understanding 'Sender' Parameters in Delphi...

2016-12-08T11:14:01Z

Find out how to exploit the powers of the Sender parameter in Delphi: share event handlers and more.



Programmatically Download Web Documents from...

2016-12-08T11:14:01Z

Learn how to programmatically download a web document from the Internet using Delphi and WinInet API.



Use Windows Hooks in Delphi Applications

2016-12-08T11:14:01Z

Put shortly, a hook is a function you can create as part of a dll or your application to monitor the 'goings on' inside the Windows operating system. Hooks.pas ensures hooking in Delphi applications is easy.



Use This List of Date/Time Routines in Delphi

2016-12-08T11:14:01Z

Learn about Date/Time Delphi functions and procedures in RTL.



How to Create, Parse and Manipulate XML...

2016-12-08T11:14:01Z

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.



Serialize / Stream (Read/Write) Configuration...

2016-12-08T11:14:01Z

Learn how to save published properties of a class into a stream / file and read back. Use it to store your Delphi application specific configuration data.



How to Create Windows Service Applications in...

2016-12-08T11:14:01Z

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.



Using 'TStopWatch' to View Process Execution...

2016-12-08T11:14:01Z

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.



RTTI in Delphi - Extended Run Time Type...

2016-12-08T11:14:01Z

class="no-js" itemscope itemtype="http://schema.org/Article" > itemprop="description" >Delphi provided



Learn How Delphi Uses Resource Files

2016-12-08T11:14:01Z

Resources support the program but are not executable code. Learn how Delphi uses standard Windows-format resource files: icons, bitmaps and cursors.



Threaded Delphi Tasks In A Thread Pool - OTL...

2016-12-08T11:14:01Z

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.



Implementing On Item Click / Double Click for...

2016-12-08T11:14:01Z

Unfortunately, if you need to know what list view item was clicked or double clicked you cannot simply handle the OnClick / OnDblClick events to get the clicked item. You need to call the GetHitTestInfoAt function and make sure the click event occurred over an actual item. Here's how.



An Expert Guide to Using 'SET' Type Values in...

2016-12-08T11:14:01Z

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.



Free Delphi Component Sets (Including Source...

2016-12-08T11:14:01Z

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!



Delphi String Handling Routines Explained

2016-12-08T11:14:01Z

Delphi string handling routines explained: declarations, descriptions and examples.



How to Read and Customize XML/RSS Files in Delphi

2016-12-08T11:14:01Z

Learn how to read and manipulate XML documents with Delphi using the TXMLDocument component. Let's see how to extract the most current



Advanced Mouse Processing

2016-12-08T11:14:01Z

More sophisticated Mouse techniques. Is mouse Present? Handling OnMouseEnter, OnMouseLeave. Restrict movement, Set Position, Faking clicks, etc.



Understanding Class Methods

2016-12-08T11:14:01Z

Understanding and using Borland Delphi Class procedures / functions. What they are and how to find a practical use for them.



How to Place a CheckBox into a DBGrid

2016-12-08T11:14:01Z

Adding components to a DBGrid. Here's how to place a check box into a DBGrid. Create visually attractive user interfaces for editing boolean fields.



Load a DLL From a Resource Directly From Memory...

2016-12-08T11:14:01Z

To use a DLL stored inside a Delphi application executable file, the DLL first needs to be stored on the file system. Does it? Here's how to load a DLL from a resource directly into memory and use it without saving it to the hard-drive.



An introduction to the Delphi Language

2016-12-08T11:14:01Z

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.



Understand Use Of Anonymous Methods In Delphi

2016-12-08T11:14:01Z

class="no-js" itemscope itemtype="http://schema.org/Article" > itemprop="description" >With the inclusion



How to Show a Login/Password Before the Main...

2016-12-08T11:14:01Z

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



Close Previous Application Instances / Ensure...

2016-12-08T11:14:01Z

If, for whatever the reason, you need to terminate the running instance(s) of your application when the user decides to start a new instance, you need to find a mechanism to notify all the running instances (and optionaly) close them. This article shows you one such mechanism when using Delphi.



How Do You Implement PING Without Using Raw...

2016-12-08T11:14:01Z

Here's how to obtain a computer's IP address by using the Socket API and Delphi's Pascal. Icmp.dll allows developers to write ping applications on Windows.



An Introduction to (Keyboard) Hook Procedures

2016-12-08T11:14:01Z

This document describes what Windows hooks are and how to use them within a Delphi application.



Drag a Delphi Form Without the Caption Bar

2016-12-08T11:14:01Z

No title bar! How can we drag such a window? It's easy and fun: let's make a Delphi form move by clicking (and dragging) in it's client area.



How to Save Webpages in HTML or MHT in Delphi

2016-12-08T11:14:01Z

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.



Drawing a TComboBox: Color Pick List, Font Pick...

2016-12-08T11:14:01Z

As with menus (menu items), an application can create an owner-drawn combo box to take responsibility for painting list items. An owner-drawn combo box can list/show information other than text strings - usually some graphical elements. Let's see how you can do it in Delphi.



Need More Images For A Virtual Tree View Node?

2016-12-08T11:14:01Z

When using the TVirtualStringTree, each tree node can have several images. One is the check image which is supplied by internal image lists or a special external list (CustomCheckImages property). Another one is the state image and yet another one the normal/selected image. What to do when more images are needed for a node...



Store and Retrieve DBGrid's Columns Order and...

2016-12-08T11:14:01Z

If you allow a user to customize DBGrid's appearance at run time (Columns width and position), when the form is closed and reopened, all the user changes are lost. For a better user experience it would be ideal if your application could somehow store (and load when needed) all the changes the user has made to the Grid appearance. Here's how.



Delphi Thread Pool Example Using AsyncCalls

2016-12-08T11:14:01Z

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.



Learning Object Oriented Programming with Delphi

2016-12-08T11:14:01Z

Free online Borland Delphi OOP Course: Chapter Overview.



Using 'Version Directives' to Write a Delphi...

2016-12-08T11:14:01Z

Preparing to code with no barriers. See how to overcome the compiler version problem: compiling Delphi code for various Delphi versions.



TQPDF - Delphi Wrapper for the QPDF Library

2016-12-08T11:14:01Z

TQPDF - Delphi wrapper for the QPDF.DLL. QPDF is capable of creating linearized (also known as web-optimized) files and encrypted files. It is also capable of converting PDF files with object streams (also known as compressed objects) to files with no compressed objects or to generate object streams from files that don't have them (or even those that already do).



How to Exchange Data over a Network Using Delphi

2016-12-08T11:14:01Z

Learn about creating a console mode application with Delphi; a text-mode program that runs without a graphical interface. See how to capture the output.



On Handling Exceptions in Delphi Exception...

2016-12-08T11:14:01Z

No code is error free! Some code is full of errors on purpose! What are exceptions and how they are handled by Delphi and how you can handle exceptions to help yourself and your users use a more robust and user friendly application. All inside!



Running Delphi Applications With Parameters

2016-12-08T11:14:01Z

How to pass command-line parameters to your Delphi application and how to handle them.



How to Build Console Applications with No GUI

2016-12-08T11:14:01Z

Creating a console mode application with Delphi; a text-mode program that runs without a graphical interface. Learn more about no GUI Delphi applications.