FMX.Controls.TStyledControl.SetNewScene

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetNewScene(AScene: IScene); override;

C++

virtual void __fastcall SetNewScene(_di_IScene AScene);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TStyledControl

Description

Sets a new Scene for the current control.

FMX.Controls.TStyledControl.SetNewScene inherits from FMX.Controls.TControl.SetNewScene. All content below this line refers to FMX.Controls.TControl.SetNewScene.

Sets a new Scene for the current control.

AScene specifies the new scene. If AScene is empty, SetNewScene does nothing.

SetNewScene sets the same scene for the control's children.

See Also