Sign in Join
FPDoc Onlineexperiment

TMenuItem.HasParent function

Member of TMenuItempublicIn unit Menus

Indicates if the menu item has a parent menu item.

Declaration

pascal
function HasParent: Boolean; override

Function result

True when a Parent menu item has been assigned for the menu item.

Description

Returns True if the menu item has a parent responsible for streaming. Overridden to check for an assigned value in the Parent property. Does not call the inherited method.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.