rss

Featured Confidential On Delphi 5

This paper is a continuation from the previous article titled AutoScroll on the Delphi palette. Here we add the other 2 hidden feature of the Delphi 5. 

1. Showing the form of a font 
By default, if we choose the Font.Name property in the Object Inspector that appears is the name of the font. With a little registry change we can display the font name and the form of his fonts. 
How, add a new String Value called on FontNamePropertyDisplayFontNames 
HKEY_CURRENT_USER \ Software \ Borland \ Delphi \ 5.0 \ Extras. Contents FontNamePropertyDisplayFontNames the value data to 1. 

2. Different colors in the Object Inspector 
As we know, both on the Properties and Events in the Object Inspector consists of 2 columns. The left column is for the Property or Events while the right-hand column is the "value" is. Now, with the brain-especial registry again we can make the color column to the right at our hearts. How, add a new String Value named PropValueColor in HKEY_CURRENT_USER \ Software \ Borland \ Delphi \ 5.0 \ Globals. Then the content of its value with the data, for example clNavy, clRed, etc.. 

If you do not want to wrestle brain especial registry, please copy the line below and save the file name berekstensi. Reg. To enter to the registry just click 2x on the file. 
Selamat mencoba. 

REGEDIT4 

[HKEY_CURRENT_USER \ Software \ Borland \ Delphi \ 5.0 \ Extras] 
"AutoPaletteSelect" = "1" 

[HKEY_CURRENT_USER \ Software \ Borland \ Delphi \ 5.0 \ Extras] 
"AutoPaletteScroll" = "1" 

[HKEY_CURRENT_USER \ Software \ Borland \ Delphi \ 5.0 \ Extras] 
"FontNamePropertyDisplayFontNames" = "1" 

[HKEY_CURRENT_USER \ Software \ Borland \ Delphi \ 5.0 \ Globals] 
"PropValueColor" = "clRed"

Related Post:



0 comments:


Post a Comment