New Articles and Resources
-
2012. Delphi Programming by Zarko Gajic
Created:
Monday, December 24, 2012
Updated:
Monday, December 24, 2012
The collection to all of your favorite tutorials, articles, VCL top picks, tool reviews, technical tips on Delphi Programming and a lot more, sorted by date. Year 2012. -
Return Multiple Values From A Delphi Function
Created:
Tuesday, December 11, 2012
Updated:
Wednesday, December 12, 2012
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... -
Delphi Record Helpers For Sets (And Other Simple Types)
Created:
Tuesday, November 27, 2012
Updated:
Wednesday, November 28, 2012
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 pro... -
Virtual Tree View - How To Install - Delphi 3rd Party Open Source Component
Created:
Friday, November 23, 2012
Updated:
Friday, November 23, 2012
The Virtual TreeView, initially being developed by Mike Lischke and now being maintained as an open source project on Google Code is a must-use control if you are up to working with whatever you co... -
Owner Drawing The String Grid
Created:
Tuesday, October 23, 2012
Updated:
Wednesday, October 24, 2012
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 ... -
Reposition A MessageDlg To Your (Delphi Application) Main Form
Created:
Tuesday, October 16, 2012
Updated:
Tuesday, October 16, 2012
A custom MessageDlgPos function you can use in your Delphi applications to decide if you want to center the dialog on your main form, owner form, screen center and so on simply by passing a particu... -
Understanding Delphi Class (and Record) Helpers
Created:
Tuesday, September 18, 2012
Updated:
Tuesday, September 18, 2012
A feature of the Delphi language added some years ago (way back in in Delphi 2005) called "Class Helpers" is designed to let you add new functionality to an existing class (or a record) by introduc... -
Debug vs. Release In Delphi Build Configurations
Created:
Tuesday, September 11, 2012
Updated:
Tuesday, September 18, 2012
The Project Manager window in your Delphi (RAD Studio) IDE displays and organizes the contents of your current project group and any project it contains. The Build Configurations section will list ... -
Two Applications In One Delphi Program (Using Conditional Compilation) - Part 2
Created:
Tuesday, August 28, 2012
Updated:
Tuesday, August 28, 2012
The option to have different build configurations for your Delphi program allows you to have two (or more) different applications (executable files) being produced by the compiler/linker. For this ... -
Have Two Applications In One Delphi Program (Conditional Compilation) - Part 1
Created:
Thursday, August 23, 2012
Updated:
Tuesday, August 28, 2012
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 executab... -
Need More Images For A Virtual Tree View Node?
Created:
Tuesday, July 24, 2012
Updated:
Tuesday, July 24, 2012
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). ... -
Using TDictionary - Hash Tables in Delphi
Created:
Friday, July 13, 2012
Updated:
Friday, July 13, 2012
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 ... -
Large Integer Sets In Delphi
Created:
Tuesday, June 26, 2012
Updated:
Tuesday, June 26, 2012
If you ever needed to do set type operations like union, intersection or difference on a collection of integer values containing more than 256 elements, you would not be able to use the standard se... -
Delphi Game Development Scene
Created:
Tuesday, June 12, 2012
Updated:
Tuesday, June 12, 2012
If we look at the Delphi history, it appears that every new version of Delphi has always been introduced using slogans like -
Interfaces In Delphi Programming 102
Created:
Tuesday, May 22, 2012
Updated:
Tuesday, May 22, 2012
The 101 article was an introduction to interfaces and implementing them. This time we'll explore more topics related to working with interfaces. What to do when 2 interfaces define the same named m... -
Why Delphi?
Created:
Tuesday, May 08, 2012
Updated:
Tuesday, May 08, 2012
What is Delphi and how programming in Delphi can ensure your applications are run on Windows, MAC OS X and iOS (and even Android). -
Add A Grab Bar To The TSplitter - Upgrade Your Resizable User Interface In Seconds
Created:
Monday, April 23, 2012
Updated:
Tuesday, April 24, 2012
The TSplitter Delphi control does a nice job of allowing the user to resize user elements like panels on a form to make the the user interface more flexible. A nice to have for a splitter would be .. -
Dock And Float Forms In Delphi - No Dragging, No Dock Sites
Created:
Tuesday, April 17, 2012
Updated:
Tuesday, April 17, 2012
There's a group of controls on a tab sheet of a page control. There's a group of controls on a panel. Here's how to undock the controls from their original parent and make them float in a floating .. -
How To Store More Custom Data Into The Tree Node Of A Tree View
Created:
Tuesday, March 27, 2012
Updated:
Tuesday, May 15, 2012
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 ... -
On Reraising Exceptions in Delphi Exception Handling
Created:
Tuesday, March 13, 2012
Updated:
Tuesday, March 13, 2012
In the On Handling Exceptions in Delphi Exception Handling article, a discussion on how to handle and what happens when you handle exceptions in your Delphi code is provided. This time, we'll see h.. -
On Handling Exceptions In Delphi Exception Handling
Created:
Tuesday, February 28, 2012
Updated:
Tuesday, March 13, 2012
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 ro.. -
Heap vs. Stack For Delphi Developers - Understanding Memory Allocation in Delphi
Created:
Tuesday, February 14, 2012
Updated:
Tuesday, February 14, 2012
When you start programming in Delphi you might get errors like -
Remove Empty Line Added With TStringList.SaveToFile
Created:
Tuesday, January 24, 2012
Updated:
Monday, January 30, 2012
The SaveToFile method of the TStringList class adds an empty line to the file. Here's how to remove that extra line feed in in your Delphi applications you need one line of text to really be one li.. -
2011. Delphi Programming by Zarko Gajic
Created:
Monday, January 02, 2012
Updated:
Monday, December 24, 2012
The collection to all of your favorite tutorials, articles, VCL top picks, tool reviews, technical tips on Delphi Programming and a lot more, sorted by date. Year 2011. -
Is Your 32bit Delphi Applications Running On x86 (Win 32) OR x64 (Win 64)?
Created:
Tuesday, December 27, 2011
Updated:
Tuesday, December 27, 2011
While I have Delphi XE 2 (supporting native x64 development) I am still compiling some of my applications as 32-bit applications (waiting for some 3rd party to move to x64). Having my x86 (32-bit) .. -
Delphi Thread Pool Example Using AsyncCalls
Created:
Tuesday, December 13, 2011
Updated:
Thursday, December 15, 2011
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 advantag.. -
Threaded Delphi Tasks In A Thread Pool - OTL (OmniThreadLibrary) Example
Created:
Tuesday, December 06, 2011
Updated:
Monday, January 02, 2012
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 cl.. -
ShellControls (TShellTreeView, TShellListView) In Delphi XE2 - No Vcl.Shell.ShellCtrls For Me
Created:
Tuesday, November 15, 2011
Updated:
Tuesday, December 27, 2011
Delphi X2 has Vcl.Shell.ShellCtrls.pas but the Shell Controls package is not installed by default. There's ShellCtrls.pas in the samples folder (as before) - use it to manually install the package... -
Threaded Delphi String Parser
Created:
Tuesday, November 08, 2011
Updated:
Tuesday, November 08, 2011
With today machines having multiple cores, why not take advantage of the hardware and have your code execute in multiple threads. Here's a simple threaded string parser to help you start implementi.. -
CodeRage 6 - Delphi XE 2 and FireMonkey: 17-21 October 2011
Created:
Tuesday, October 18, 2011
Updated:
Tuesday, October 18, 2011
CodeRage 6 - a FREE multi-day online conference filled with stellar content designed specifically for software development professionals. If you speak geek, this is the event for you! -
Sizing The ComboBox Drop Down List Width - No Cut Off For Right Edge Placements
Created:
Tuesday, October 11, 2011
Updated:
Tuesday, October 11, 2011
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.. -
Set Of Strings in Delphi - Implementing Union, Intersection and Difference
Created:
Tuesday, October 04, 2011
Updated:
Tuesday, November 15, 2011
In Delphi, sets or set types allow you to do set type operations like union, intersection and difference on a set of ordinal values. A set is a collection of ordinal values. The values in a set hav..
