FMX.Media.TMediaPlayerValue.Notification

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Notification(AComponent: TComponent; Operation: TOperation); override;

C++

virtual void __fastcall Notification(System::Classes::TComponent* AComponent, System::Classes::TOperation Operation);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Media.pas
FMX.Media.hpp
FMX.Media TMediaPlayerValue

Description

Responds when components are created or destroyed.

FMX.Media.TMediaPlayerValue.Notification inherits from System.Classes.TBasicAction.Notification. All content below this line refers to System.Classes.TBasicAction.Notification.

Responds when components are created or destroyed.

Do not call the Notification method in an application. Notification is called automatically when the component specified by AComponent is about to be inserted or removed, as specified by Operation.

TBasicAction overrides the System.Classes.TComponent.Notification method. Notification checks whether the component specified by AComponent is the same as the component stored in the ActionComponent property and whether it is about to be freed. If so, Notification sets the ActionComponent property to nil (Delphi) or NULL (C++).

See Also