Class TMenuEntry
Unit
CastleWindow
Declaration
type TMenuEntry = class(TObject)
Description
A basic class representing basic menu building block. This can be a separator, clickable menu item or something that expands to submenu.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
procedure MenuUpdateBegin; |
For optimization purposes, you may surround many menu changes inside MenuUpdateBegin + MenuUpdateEnd calls. Make sure window is not closed / opened between them.
|
 |
procedure MenuUpdateEnd; |
|
Properties
 |
property ParentMenu: TMenu read FParentMenu; |
This is the parent TMenu that has this item in it's Entries list. Nil is there is not parent menu yet (e.g. because it's not assigned yet, or because this is the main menu).
|
 |
property ParentMenuPosition: Cardinal read FParentMenuPosition; |
Position on ParentMenu. Indexed from 0, so ParentMenu.Entries[ParentMenuPosition ] should be always equal to Self (as long as ParentMenu <> Nil .
|
Generated by PasDoc 0.12.1 on 2013-02-04 20:26:53
|