Visit site About Delphi Programming

February 2012

0
votes
Vote UpVote

Switch Languages / Keyboard Layouts in Your Delphi Application

About Delphi Programming – in Delphi TIPS :: If you need to allow the user of your Delphi application to use different languages / keyboard layouts to input data, you would need to mimic the "Text Service and Input Languages" Control Panel applet. Using Control Panel you can specify the default language that you use to ...
Details Favorite? Off-Topic? 2012-02-03 03:00

January 2012

0
votes
Vote UpVote

Store RTF As a Resource - Load Resource RTF Into a TRichEdit

About Delphi Programming – in Resources :: If your application needs external pre-made files like sounds and other raw data, beside distributing separate files for your application's use, you can add the raw data to your application as a resource. Here's how to store and load RTF (rich text document) data as a resource in ...
Details Favorite? Off-Topic? 2012-01-31 03:00
3
votes
Vote UpVote

Ensure NO #13#10 Ending When Using TStringList.SaveToFile

About Delphi Programming – in TStringList :: The SaveToFile method of the TStringList class adds an empty line to the file. Here's how to remove that extra line (actually CRLF - #13#10) in your Delphi applications you need one line of text to really be one line of text in the saved document. Read the full article to learn ...
Details Favorite? Off-Topic? 2012-01-24 07:45
0
votes
Vote UpVote

Deactivating the TShellTreeView Delphi Control - Faking the Active Property

About Delphi Programming – in Shell Controls :: Delphi's TShellTreeView component displays a hierarchical tree view of the system's shell folders and files. I have an application using TShellTreeView with otFolders and otNonFolders set for ObjectTypes. The actual shell tree is, by design, not visible, and is only presented to ...
Details Favorite? Off-Topic? 2012-01-23 02:00
0
votes
Vote UpVote

Real World: Upgrade From Turbo Delphi .Net To ?

About Delphi Programming – in Real World Issues :: I've received an interesting email recently from a long time Pascal/Delphi user Jacques Brits. Jacques has an interesting problem to solve, I guess many could have, and was asking to help him pick the correct direction. Here's a section of the email: I suspect you might be ...
Details Favorite? Off-Topic? 2012-01-17 06:53
0
votes
Vote UpVote

Ignoring the "Variable 'btn' might not have been initialized" Warning? Do NOT!

About Delphi Programming – in Pointers & Delphi :: Take a look at your Delphi application, the one you are developing for many days (weeks, years) ... when you hit Compile - how many compiler warnings do you see? Zero? Bravo! A few? A dozen, hundreds? Do you find in the list the "Variable 'btn' might not have been ...
Details Favorite? Off-Topic? 2012-01-13 06:00
1
vote
Vote UpVote

How To Auto Size Run-Time Added TListView Columns

About Delphi Programming – in TListView :: Here's an interesting problem a user of the Delphi Programming Forum has regarding the use of the TListView control: "I want to create a list view at run-time. When creating the columns, I cannot successfully auto-size one column by assigning the AutoSize value (to true) ... The ...
Details Favorite? Off-Topic? 2012-01-10 08:12
1
vote
Vote UpVote

How Do You Test If a Delphi String Starts With a (Sub)String? What RTL Function is Faster?

About Delphi Programming – in Delphi Strings :: Whatever type of applications you are creating using Delphi, you must be writing some code to handle strings. Delphi provides a healthy assortment of string operators, functions and procedures in RTL. Let's say that you need to determines whether the beginning of a string ...
Details Favorite? Off-Topic? 2012-01-09 04:00
1
vote
Vote UpVote

Delphi Programming Almanacs: 1998. - 2011. Something for Every Delphi Developer: Beginner or a Guru!

About Delphi Programming – in Delphi Almanacs :: According to Wikipedia, an almanac is an annual publication containing tabular information in a particular field or fields often arranged according to the calendar. A Delphi Programming Almanac would then be an annual reference e-book (?) composed of articles, tutorials, tips ...
Details Favorite? Off-Topic? 2012-01-03 02:00
2
votes
Vote UpVote

No More Memory Leaks In OTL Thread Pool :)

About Delphi Programming – in Delphi Threading :: What a nice New Year present! Just a few days after I wrote my Threaded Delphi Tasks In A Thread Pool - OTL (OmniThreadLibrary) Example article, Primoz Gabrijelcic (the author of the Omni Thread Library) informed me he was able to locate and fix the memory leak problem I was ...
Details Favorite? Off-Topic? 2012-01-02 05:43

December 2011

2
votes
Vote UpVote

Programmatically Check If Your 32-bit Delphi Application Is Running On 32-bit Or 64-bit Windows

About Delphi Programming – in x86 vs x64 :: While I do 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) application running on various Windows versions - I need a way to know if my 32 bit ...
Details Favorite? Off-Topic? 2011-12-27 05:54
0
votes
Vote UpVote

Drag Multiple Files From Delphi's TShellListView

About Delphi Programming – in Shell Controls :: The TShellListView control (a part of the Shell Controls package) can be used to display files from the file system. Paired with TShellTreeView shell, the TShellListView can be used to mimic Windows Explorer user interface. When MultiSelect property is set (to true) for the ...
Details Favorite? Off-Topic? 2011-12-20 03:00
1
vote
Vote UpVote

Snap Mouse To The Default Button in a Dialog Box in Delphi Applications

About Delphi Programming – in Mouse Programming :: Unfortunately for your Delphi application users, the "move pointer to the default button in dialog boxes" feature is not handled by your Delphi application. The mouse pointer will not jump for Delphi dialog boxes like InputBox, MessageBox, ShowMessage or any custom made ...
Details Favorite? Off-Topic? 2011-12-19 03:00
1
vote
Vote UpVote

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 ...
Details Favorite? Off-Topic? 2011-12-16 03:36
2
votes
Vote UpVote

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 ...
Details Favorite? Off-Topic? 2011-12-13 07:14
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Delphi Tage Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)