1. Technology

2003. Delphi Programming by Zarko Gajic

Delphi Programming Almanac For the Year 2003

By

Reading C code in Win32 API - 10/13/2003
A Guide to developing Delphi programs in Windows API : Chapter 1. When you read the Win32 API help, you will see that the "C" language syntax is used. This article will help you learn the differences between C langauage types and Delphi language types.

Controlling the number of application instances - 10/07/2003
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.

Working with units - 10/01/2003
A Beginner's Guide to Delphi Programming: Chapter 17. While developing a (large) Delphi application, as program becomes more complex, its source code can become very hard to maintain. In this article you will learn about creating your own code modules - Delphi code files that contain logically associated functions and procedures. Along the process we'll briefly discuss using Delphi's built-in routines and how to make all the units of a Delphi application cooperate.

Delphi Quickies Contest Entry: <font size="-2]Round #2 Winner!
Sending messages to non-windowed applications
- 09/30/2003
Learn how to send messages (signals) to non-windowed applications by using AllocateHWND and DefWindowProc. In this article we also briefly describe what Delphi does in the background to intercept Windows messages, how can we write our own message handler for a windowed application and how to obtain a unique message identifier that we can safely use in our applications. We'll also discover and fix a small bug in the Delphi DeallocateHWND procedure along the route.

Drop down list inside a DBGrid - part 1 - 09/27/2003
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 history - from Pascal to Delphi 8 for .Net - 09/23/2003
This document provides 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 solve complex development problems not only for Windows but also for Linux and the .NET.

First time at this site? Start HERE! - 09/16/2003
Congratulations! You've come to the right place to learn more about Delphi programming and get all your questions answered. The purpose of this page is to orient newcomers with an overview of some special features of the About Delphi Programming Web site.

Accessing and managing MS Excel sheets with Delphi - 09/09/2003
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.

Customizing the DBNavigator - 09/02/2003
Enhancing the TDBNavigator component with modified graphics (glyphs), custom button captions, and more. Exposing the OnMouseUp/Down event for every button.

Exposing the OnClick event for a DBGrid - 08/30/2003
Delphi's DBGrid does not respond to the OnClick event. Here's how to hack a DBGrid and surface the OnClick event - using the so-called "protected hack".

Accessing protected members of a component - 08/26/2003
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.

Attack of the (Delphi) Clones! - 08/24/2003
Has Borland created a product that is too powerful?

CheckBox inside a DBGrid - 08/20/2003
Here's how to place a check box into a DBGrid. Create visually more attractive user interfaces for editing boolean fields inside a DBGrid.

Adding components to a DBGrid - 08/19/2003
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) and even an Image inside the DBGrid.

Computer restrictions with Delphi and Registry - 08/17/2003
How to enable your applications to make restrictions to what users can (and cannot) do with their computer using Delphi and the Registry.

Delphi Quickies Contest Entry:
Implementing PING without using raw sockets
- 08/15/2003
Implementing Internet pings using Delphi and the Icmp.dll.

Delphi Quickies Contest Entry:
A Simple example of Artificial Intelligence using Delphi
- 08/10/2003
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.

Delphi Quickies Contest Entry:
DLLs Made Simpler
- 08/08/2003
This article is aimed at removing the fear of writing DLLs for beginners. A lot of beginners think DLLs are really complex, when actually they are pretty simple.

Creating flat (non-relational) databases with no database components - 08/05/2003
A Beginner's Guide to Delphi Programming: Chapter 16. Delphi Personal edition does not offer database support. In this chapter, you will find out how to create your own *flat* database and store any kind of data - all without a single data aware component.

  1. About.com
  2. Technology
  3. Delphi
  4. Coding Delphi Applications
  5. Delphi Almanac 2003 - Tutorials, Articles, Tips and Tricks by Zarko Gajic - Year 2003

©2014 About.com. All rights reserved.