IDE Window: Menu Editor

From Lazarus wiki
Revision as of 19:49, 7 March 2016 by Abtaylr (talk | contribs)
Jump to navigationJump to search

English (en) suomi (fi)

The Menu Editor is a non-modal window of the Lazarus IDE which allows you to edit menu components (TMainMenu and TPopupMenu) by adding, deleting and editing existing menu items (TMenuItem). The menu editor is invoked by right-clicking on a menu component once it had been dropped on a form (or datamodule) when designing. You can find the menu component on you Main Window toolbar or on you components sub-window.

TMainMenuComponent1.png[[File:NewFormWithMainMenu01.png

Click the component and drop it onto the form that you are designing.

MenuEditor01.png MenuEditor02.png


By clicking on the Menu Editor you can now begin to edit your menu. When the Menu Editor opens a new item is shown. The Object Inspector under the Favorites tab shows the Caption and Name of the item -- change it as necessary. For example, if this is to be a file menu you can make the Caption read File and the Name read MenuItemFile.

NewFormWithMainMenu02.png