RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenuItem.HasParent Method

Indicates that the menu item has a parent that is responsible for loading and saving its data.

Pascal
function HasParent: Boolean; override;
C++
virtual __fastcall Boolean HasParent();

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. 

 

Parent 

HasParent

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!