DelphiFAQ Home Search:
General :: Programming :: Delphi :: Delphi IDE
Information about the Delphi IDE, add-in experts and wizards.


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Only the 40 most recently viewed articles are shown.
You can see the full list here.

Featured Article

Adding an item to the main menu or the tools menu

You need to add an item into Delphi's IDE for your expert?

Here is how I did it for TMultiLang..
if you do not want to use the tools menu, but instead create a new main menu entry, you need to replace the

menMain.FindMenuItem ()


menMain.InsertItem(8, '&Test', 'TestMainMenuItem', '', 0, 0, 0, [mfVisible, mfEnabled], nil);

// taken from TMultiLang source code
 constructor TMultiLangExpert.Create;
   menMain         : TIMainMenuIntf;
   menToolsGallery : TIMenuItemIntf;
   menToolsMenu    : TIMenuItemIntf;
 begin { Create } 
   Inherited Create; 
   menMain := ToolServices.GetMainMenu; // get the IDE's main menu 
   if Assigned (menMain) then 
       // get the 

Generated 0:01:37 on Mar 22, 2018