[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 367
type TMainMenu = class(TMenu) |
||
protected |
||
procedure ItemChanged; |
|
ItemChanged - method to deal with a changed Item |
protected |
||
class procedure WSRegisterClass; override; |
|
WSRegisterClass - Register this Class for the current Widget Set |
protected |
||
procedure MenuChanged(); override; |
||
public |
||
constructor Create(); override; |
|
Create - constructor for TMainMenu: sets style to MainMenu then calls inherited Create |
property WindowHandle: HWND; [rw] |
||
published |
||
property OnChange; |
|
OnChange - event handler for a change in the Menu |
end; |
|
TMainMenu - the Main Menu that appears at the top of most windows |
|
| | ||
|
TMenu : The base class for all menus |
|
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
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 |