System.Actions.TContainedAction.HasParent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function HasParent: Boolean; override;

C++

DYNAMIC bool __fastcall HasParent();

Properties

Type Visibility Source Unit Parent
function public
System.Actions.pas
System.Actions.hpp
System.Actions TContainedAction

Description

Indicates whether the action is contained in an action list.

HasParent returns True if the action is contained in an action list stored in the ActionList property. If ActionList stores nil, then HasParent calls the inherited System.Classes.TComponent.HasParent method.

See Also