Visit site About Delphi Programming
December 2011
1
vote
CancelInvocation And Forget Added To AsyncCalls :)
About Delphi Programming
– in Delphi Threading :: Just a few days after I wrote the AsyncCalls Unit By Andreas Hausladen - Let's Use (and Extend) It! article Andreas did release a new 2.99 version of AsyncCalls. The IAsyncCall interface now includes three more methods: The CancelInvocation method stopps the AsyncCall from ...
2
votes
Delphi Thread Pools - AsyncCalls Unit By Andreas Hausladen - Let's Use (and Extend) It!
About Delphi Programming
– in Threading in Delphi :: This is my next test project to see what threading library for Delphi would suite me best for my "file scanning" task I would like to process in multiple threads / in a thread pool. While exploring more ways to have some of my functions executed in a threaded manner I've ...
0
votes
Selecting Delphi's TListView Item When the Item's Checkbox is Checked
About Delphi Programming
– in TListView Tips and Tricks :: When the Checkboxes property is True, ListView includes a check box next to the items in the list. To get the "checked" state for an item in the list view, read the Checked boolean property. You will notice that checking or unchecking the item in a list view will ...
2
votes
Understanding Unicode Support in Delphi (If You Are Still On Delphi <= 7)
About Delphi Programming
– in Coding Delphi Applications :: If you are preparing to move / migrate your "old" Delphi applications to any Delphi version later than Delphi 2009, you must have heard that a default Delphi string type is now (where "now" means in Delphi versions >= 2009) Unicode. What does this mean? Will you ...
2
votes
Running Delphi Tasks In Threads - Thread Pool Implementation In OTL - An Example Project
About Delphi Programming
– in Threading in Delphi :: The problem I had to solve is how to make file processing as fast as possible. Having a bunch of files (from 500 to 2000+) I have to process them (let's call this "scanning"). The sequential approach (one after another) proven to be too slow. Machines have more cores ...
4
votes
Tabbed Interface (MTI) For Your MDI Delphi Applications
About Delphi Programming
– in MDI Tips and Tricks :: MDI, as a preferred user interface for applications that allow multiple documents to be contained within a single window, is being abandoned by Microsoft during the last few years. Microsoft started to promote a different user interface for such applications - TDI: Tabbed ...
November 2011
2
votes
Redirect Mouse Wheel Message To A Control Under The Mouse in Delphi Applications
About Delphi Programming
– in Delphi Tips ::Mouse wheel is used for scrolling. When a scrollable control (TMemo, TListView, TTreeView, ...) has the input focus, moving the wheel will result in vertical scrolling of the content of the focused control. Many Windows applications (Delphi IDE including) have changed the default ...
2
votes
ORM - Object Relational Mapping / Persistence Frameworks for Delphi
About Delphi Programming
– in Delphi Tools / Components :: Working with database data in Delphi can be really simple. Drop a TQuery on a form, set the SQL property, set Active and, voila, here's your database data in a DBGrid. Ok, you do need a TDataSource and a connection to a database, but that's just a few clicks away. ...
0
votes
Creating Windows Service Applications Using Delphi
About Delphi Programming
– in Advanced Dephi :: 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 ...
1
vote
ShellControls (TShellTreeView, TShellListView) In Delphi XE2 - ShellCtrls VS Vcl.Shell.ShellCtrls
About Delphi Programming
– in Delphi XE2 :: Delphi X2 has Vcl.Shell.ShellCtrls.pas but the Shell Controls package is not installed by default. There's ShellCtrls.pas and the packages to install in the samples folder (as before) - use it to manually install the "Shell Control Property and Component Editors" package. Trick ...
2
votes
PCRE Workbench - Regular Expression Test Tool - Source Code Delphi Application
About Delphi Programming
– in Source Code Delphi Apps :: A regular expression (regex, regexp) is a string that describes or matches a set of strings, according to certain syntax rules. Regular expressions are used as a powerful and convenient way to recognise patterns in text. PCRE Workbench is a regular expression test ...
1
vote
Extract Links From a HTML Page Using Delphi - Get Href Attribute From The A Tags
About Delphi Programming
– in Delphi and HTML :: A very nice feature of a Browser is to display link information, for example, in the status bar, when the mouse hovers over a link in a document. This can also be done in Delphi: Get the Url of a Hyperlink when the Mouse moves Over a TWebBrowser Document. Sometimes, you "only" ...
2
votes
Threaded String Parser - Breaking Down String To Characters In Threads In Delphi
About Delphi Programming
– in Delphi Threading :: I have an application which has to process files on the file system in a way that each file is accessed / opened and some work is being done on a file (let's call this work "scanning"). With today machines having multiple cores, why not take advantage of the hardware and ...
6
votes
Use DLL from Resources (RES) Without Storing It On The File System First
About Delphi Programming
– in Resources and DLLs :: The article how to store a DLL inside a Delphi program exe file as a resource explains how to ship a DLL with your Delphi application executable file as a resource. Recently, I've received an email from Mark E. Moss, asking if a DLL stored in a RES can be used without first ...
1
vote
Format XML Data using Delphi - Properly Indent TXMLDocument XML Tags Without doNodeAutoIndent
About Delphi Programming
– in TXmlDocument :: When using the TXMLDocument to create XML documents you might receive a nasty EOleException: This operation can not be performed with a Node of type PCDATA. If you want the resulting XML to look "pretty" - so that each element node appears on its own line, indented appropriately ...




