|
|
Create a menu item into the Delphi menu |
|
|
作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站 |
{....}
uses ToolsApi, Menus;
{....}
var item: TMenuItem; begin {get reference to delphi's mainmenu. You can handle it like a common TMainMenu} with (BorlandIDEServices as INTAServices).GetMainMenu do begin item := TMenuItem.Create(nil); item.Caption := 'A Mewn caption'; Items.Add(item); end; end;

|
|
相关文章:相关软件: |
|