Scalabium Software

SMReport Autogenerated
Knowledge for your independence'.
Home Delphi and C++Builder tips


#70: How can I receive a names of all palettes, which was registered in IDE?

To continue the IDE expert subject:))

If you want to write the own expert for Delphi/C++Builder IDE and you want to display the names of all registered palette, you can use the next code:

uses Registry;

procedure GetPaletteNames(lst: TStrings);
var i: Integer;
begin
  with TRegistry.Create do
    try
      if OpenKeyReadOnly('Software\Borland\Delphi\4.0\Palette') then
         GetValueNames(lst);
    finally
      Free;
    end;
  for i := 0 to lst.Count-1 do
    if Pos('.', lst.Strings[i]) > 0 then
      lst.Delete(i);
end;


Published: March 16, 2000

See also
 
DBISAM Password Recovery
dBase Viewer
MAPIMail
DBISAM Viewer
Mail parser (ActiveX)
Fast Document Viewer
DBExport tools
Paradox to Text converter
Clarion to Text converter
Viewer for MS Outlook Messages
 
 


Contact to webmaster

 

Borland Software Code Gear Scalabium Delphi tips

Copyright© 1998-2017, Scalabium Software. All rights reserved.
webmaster@scalabium.com

SMExport advertising