Professional Documents
Culture Documents
Mysterious Delphi
Uncovering hidden Delphi features. See how to set up some secret registry settings that change the standard behavior of the Delphi IDE.
Join the Discussion
Working with Delphi is a whole lot more fun if we bend some of the "rules". Like many other complex tools (applications) Delphi has some "...the question I have for
undocumented settings that can really help us code faster and with more fun. Let's find out where is the secret backdoor for getting Delphi any of you who used Delphi
to expose it's secrets. prior to version 5, what
purpose is there for me,
someone who does mostly
Messing with the Registry database programing, of
All secret settings are stored under the Delphi main key which is: HKEY_CURRENT_USER\Software\ Borland\Delphi\5.0 in the Windows using version 5 or should I
stick to Delphi 1/2/3/4..."
Registry database. I'll call this key MDK for short.
Why Delph 5?
To modify Delphi registry entries, start the Registry Editor (regedit.exe). NT users should run regedit32.exe. Since we'll be modifying and Related Resources
adding registry entries (keys and values), firstly create a copy of your registry - in case that something goes wrong. To add a new key • Humor/Fun with Delphi
• Coding the Registry
under the Delphi main root select Edit|New|Key. The new key appears with a temporary name - type a name for the new key, and then
• Extending the IDE
press Enter to confirm it. To add a new value under the Delphi main root (or your newly added key) select Edit|New|String (or Binary or
Dword) value. The new value appears with a temporary name and default value - type a name for the new value; double-click the value to From Other Guides
• Backup the Registry
change it with the Value Data box. Most values are stored as strings, and boolean values are represented as '1' (True) and '0' (False). In
order to use secret features you'll need to restart Delphi. Any time: to disable boolean values set them to 0 and restart Delphi. Elsewhere on the Web
• Undocumented Delphi
Note: none of the secrets exposed in this article are guaranteed to remain in future versions of Delphi. In other words: there are no Registry Entries
guarantees with undocumented settings - use those at your own risk. If safety is a concern for you, you should stick to the documented
Delphi settings.
FontNamePropertyDisplayFontNames
Adding "FontNamePropertyDisplayFontNames" string with value "1" to MDK\Extras will cause the IDE to display a graphical drop down list of fonts.
AutoPaletteSelect
Adding "AutoPaletteSelect" string with value "1" to MDK\Extras will cause a tab on the component palette to be automatically selected when the mouse is hovering
over it.
AutoPaletteScroll
Adding "AutoPaletteScroll" string with value "1" to MDK\Extras will cause a list of components on the tab on the component palette to scroll when the mouse is
over either the left or right palette scroller. This will happen when icons don't fit in a component page.
ShowCodeInsiteError
Adding "ShowCodeInsiteError" string with value "1" to MDK\Extras will cause Code Insight Errors to be shown in the Message view window.
More Delphi
Learn another routine every day - RTL Quick Reference.
Download free source code applications and components.
Talk about Delphi Programming, real time.
Link to the Delphi Programming site from your Web pages.
Tutorials, articles, tech. tips by date: 2001|2000|1999|1998 or by TOPIC.
NEXT ARTICLE: Your first MP3 Delphi player.
See how to build a full-blown mp3 player with Delphi in just a few seconds. Even more: get the ID3 tag information from a mp3 file and change it!
Stay informed with all new and interesting things about Delphi (for free).