[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TMainMenu - the Main Menu that appears at the top of most windows
Source position: menus.pp line 373
type TMainMenu = class(TMenu) end; |
||
protected |
||
procedure ItemChanged; |
|
ItemChanged - method to deal with a changed Item |
class procedure WSRegisterClass; override; |
|
Registers this component class with the current WidgetSet. |
procedure MenuChanged(); override; |
||
public |
||
constructor Create(); override; |
|
Create - constructor for TMainMenu: sets style to MainMenu then calls inherited Create |
property Height: Integer; [r] |
||
property WindowHandle: HWND; [rw] |
||
published |
||
property OnChange: TMenuChangeEvent; |
|
OnChange - event handler for a change in the Menu |
|
TMainMenu - the Main Menu that appears at the top of most windows |
|
| | ||
|
TMenu : The base class for all menus |
|
| | ||
|
The base class for LCL components associated with widgets. |
|
| | ||
TComponent |
||
? | ||
TObject |
TMainMenu - the Main Menu that appears at the top of most windows; form designers can customise by choosing various menu items.
Main Menu is a non-visible component : that is, if the icon is selected from the Component Pallete and placed on the Form, it will not appear at Run-time. Instead, a Menu bar with a structure defined by the Menu Editor will appear.
To see the Menu Editor, right-click on the Main Menu icon on your Form.
|
HowToUseMenus - hints for creating Menus for your Forms |
|
|
TMenuItem - The base structure of each item in a Menu. |
|
|
TMenu : The base class for all menus |
|
|
TMenuActionLink: defines the link between a selected menu item and its corresponding action |
lazarus-ccr.sourceforge.net |