article

Customizing the Delphi IDE

Email
Submitted on: 1/1/2015 1:19:00 PM
By: Zach Hunt (from psc cd)  
Level: Beginner
User Rating: By 4 Users
Compatibility: Delphi 5, Delphi 4, Pre Delphi 4
Views: 2240
 
     Using the windows registry you can customize many different aspects of the Delphi IDE that are not available in the Enviornment options of Delphi. This tutorial shows how to do this. Please vote!

 
				







Customizing the Delphi IDE

 
 TH
 TH
 2
 13
 2002-05-06T05:28:00Z
 2002-05-06T05:28:00Z
 1
 654
 3732
 HFLP
 31
 7
 4583
 9.2720
 



 

 
 
 


 

Customizing the Delphi IDE

This tutorial shows you how to customize several different aspects of the Delphi IDE using the windows registry.

The program regedit.exe, which allows you to edit the windows registry, is located in “C:\Windows”

All of the keys used to edit the Delphi IDE are in the “HKEY_CURRENT_USER\Software\Borland\(Version Number)”

Most of these keys are available on previous versions of Delphi but I based this article on Delphi 6 so depending on the version of Delphi that you have some of these keys may not be in the registry. Also the changes to the Delphi IDE don’t take place until you exit and restart Delphi.

Code Insight

All of the keys in this section are in the “(Version Number)\Code Insight” key

In this key there are a lot of different keys that allow you to customize the colors of different parts of the code completion popup list. All the key’s names end in color. Just set the key to a color constant that is used in Delphi.

CodeCompleteAutoParens

This key determines if when you press space or enter on a selection in the code completion list it will automatically insert the opening and closing brackets or not. Set the key to False to have the code completion not insert the brackets.

CodeCompleteHeight, CodeCompleteWidth

These two keys change the default height and width for the code completion list. Just set the two keys to either a hexadecimal value or a decimal value.

Scope Sort

This key determines if the code completion list appears in scope order or in alphabetical order. The default is True so set the key to False to have the code completion list appear in alphabetical order.

Component Palette

 

AutoPaletteScroll

In the (Version Number) key add a new key called “Extras” in that folder you add a new string key and name that key “AutoPaletteScroll”. Set the key to True and whenever your mouse is over an arrow that scrolls through components it will scroll automatically, you don’t have to click the arrow. This is not the arrow that scrolls through the categories of components.

AutoPaletteSelect

In the same Extras key as in the above example you can add another string key called “AutoPaletteScroll”. Set this key to True and whenever your mouse is over a component category on the component palette like Standard or Additional it will automatically select the group and you don’t have to click the mouse button.

SortPaletteTabs

In the “(Version Number)\Main Window” key there is a key called “SortPaletteTabs”. This key determines if the right click menu of the component palette is in alphabetical sort or in the order they appear on the palette. Set the key to False to set the order to the order it appears on the palette.

 Object Inspector

All of the keys in this section are in the “(Version Number)\Object Inspector” key

In this key there are a whole lot of different keys that allow you to customize the colors of different parts of the object inspector. All the key’s names end in color. Just set the key to a color constant that is used in Delphi.

Show Classname in Instance List

This key determines if the classname is displayed in the object inspector drop down list. Set the key to False to have the pull down list not display the classnames.

Show Grid Lines

This key determines if the grid lines show up in the object inspector. Set the key to False to have the grid lines not visible.

Show Instance List

This key determines if the drop down list at the top of the object inspector is displayed in the object inspector. Set the key to False to have the drop down list not visible.

Show Status Bar

This key determines if the status bar at the bottom of the object inspector is displayed. Set the key to False to have the status bar not visible.

Window Menu

All of the keys in this section are in the “(Version Number)\Main Window” key

Show Window Menu

This key determines if the Windows menu shows up in the Delphi IDE. Set the key to False to make the windows menu not visible.

Sort Window Menu

This key determines if the windows inside of the windows menu appear in alphabetical order or in the order of most used. Set the key to False to make the windows appear in the order of most used.

 

These are just a few of the keys in the registry that can customize the Delphi IDE. Go ahead and explore all of the other keys in the Delphi registry. Some of the keys are not there automatically. You have to add the key and set the value. So keep on exploring, there are a lot of things that you can do with the windows registry.


Other 2 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this article (in the Beginner category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments


 There are no comments on this submission.
 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular article, please click here instead.)
 

To post feedback, first please login.