Vcl.Menus.TMenuItem.HasParent
Delphi
function HasParent: Boolean; override;
C++
DYNAMIC bool __fastcall HasParent(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | TMenuItem |
Description
Indicates that the menu item has a parent that is responsible for loading and saving its data.
TMenuItem overrides HasParent to return true, indicating that menu items have a parent. Applications seldom call the HasParent method. It is used by the streaming system that loads and saves forms to determine when another object is responsible for writing a component to a stream.