1. Computing

2006. Delphi Programming by Zarko Gajic

Delphi Programming Almanac For the Year 2006

By

Execute a Custom Action on the Form's Help button Click - 09/18/2006
If the form's BorderStyle property is bsDialog and biHelp is included in BorderIcons, a question mark appears in the form's title bar and when clicked, the cursor changes to crHelp.

TurboCash Accounting - Open Source Delphi Code - 09/16/2006
TurboCASH is an open source accounting package that is free for everyone to download and distribute under the terms of the General Public Licence (GPL).

How to "Pan" an Image inside a ScrollBox - 09/11/2006
"Panning" (in computer terms) refers to being able to move an object both horizontally and vertically by holding down a given mouse button and then moving the mouse.

Download Free Version of (Turbo) Delphi! - 09/06/2006
As announced, "Turbo Explorer" editions of Delphi for Win32 and Delphi for .NET are provided for FREE.

How to Capture the Screen Shot of the Active Window - 09/04/2006
Need to take a screen shoot from code? No problem ... here's how to capture the Windows desktop or the Active Window's image into a TBitmap object - and display it inside a TImage control.

FeedReader : Open Source Delphi Application - 09/02/2006
FeedReader is a free lightweight aggregator that supports RSS and ATOM formats. It works under Windows 98 and later versions.

Remove the Windows Constraint on Minimum Form Size: Width and Height - 08/28/2006
By Windows design a form (window) has a size constraint that sets the minimum form height to the height of the caption bar and the width to 112 pixels (118 in XP theme).This minimum size constraint is imposed by Windows to prevent a user from accidentially resizing a window so much that it becomes unusable. There might be situations where you need to have your forms smaller then 112 pixels in width. Here's how...

Quake 2 - Delphi Code - 08/24/2006
The Quake 2 (a first person shooter game by IdSoftware) Delphi project is dedicated to converting the Quake 2 Visual C code to Delphi code. The code uses OpenGL libraries.

How to Capture the Screen Shot of the Active Window - 09/04/2006
Need to take a screen shoot from code? No problem ... here's how to capture the Windows desktop or the Active Window's image into a TBitmap object - and display it inside a TImage control.

FeedReader : Open Source Delphi Application - 09/02/2006
FeedReader is a free lightweight aggregator that supports RSS and ATOM formats. It works under Windows 98 and later versions.

Remove the Windows Constraint on Minimum Form Size: Width and Height - 08/28/2006
By Windows design a form (window) has a size constraint that sets the minimum form height to the height of the caption bar and the width to 112 pixels (118 in XP theme).This minimum size constraint is imposed by Windows to prevent a user from accidentially resizing a window so much that it becomes unusable. There might be situations where you need to have your forms smaller then 112 pixels in width. Here's how...

Quake 2 - Delphi Code - 08/24/2006
The Quake 2 (a first person shooter game by IdSoftware) Delphi project is dedicated to converting the Quake 2 Visual C code to Delphi code. The code uses OpenGL libraries.

How to Browse Delphi's VCL Source Code - 08/21/2006
If you have a Delphi version that comes with the source code (YES! some Delphi versions include the full VCL / RTL source code), you can easily browse through it! Here's how...

How to Execute a JavaScript Code on a TWebBrowser Document - 08/14/2006
Here's how to execute a custom script (JavaScript or VBScript) function on a HTML document loaded in the TWebBrowser control...

Turbo Delphi: Free Delphi! - 08/13/2006
Borland does it again! The turboexplorer.com web site counts days until the free versions of Turbo Delphi, C# and C will be available for download.

Add Console Input and Output for a GUI Delphi Application - 08/07/2006
If you want to have console input and output for a GUI application you should use the AllocConsole and FreeConsole functions. Here's an example...

Sokoban - Free Source Delphi Game - 08/05/2006
Sokoban is a classic puzzle game invented in Japan. Sokoban means warehouse keeper in Japanese. Free Delphi Source Code.

Is there an Image in the TImage Delphi Control? - 07/31/2006
In most situations you assign an image for the TImage at design-time, by setting the Picture property using the Object Inspector. If you want to clear the TImage (at run-time), you asign NIL to the Picture property. Here's how to check if the TImage is "empty"...

Copy RTF Text/Formatting From one TRichEdit to Another - 07/24/2006
The TRichEdit can display RTF (rich text format) documents. RTF files are actually ASCII files with special commands to indicate formatting information, such as fonts and margins. Here's how to copy the text from one RichEdit to another, without loosing the RTF formatting!

Cyclic Redundancy Code (CRC) FileCheck - 07/19/2006
Cyclic Redundancy Code FileCheck is a handy utility to verify a copy of a file, directory or even a volume (within acceptable probabilities). Full / Free Delphi Source code.

Programmatically Get and Set the MediaPlayer Sound Volume - 07/17/2006
Here's how to get / set the sound volume while the media is being played in the Media Player.

Programmatically Enable and Disable CD Auto-Run / Auto-Play - 07/10/2006
When a user inserts a CD into a CD drive, Windows AutoRun feature opens up an instance of Windows Explorer to display the content of the CD. There are many situations where AutoRun may need to be temporarily or persistently disabled. For example, AutoRun might interfere with the operation of your Delphi application (asking for a user to insert a series of CDs) and need to be disabled for the duration.

©2014 About.com. All rights reserved.