FMX.Presentation.Style.TStyledPresentation.SetNewScene
Delphi
procedure SetNewScene(AScene: IScene); override;
C++
virtual void __fastcall SetNewScene(Fmx::Controls::_di_IScene AScene);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Presentation.Style.pas FMX.Presentation.Style.hpp |
FMX.Presentation.Style | TStyledPresentation |
Description
Sets a new Scene for the current control.
Sets a new Scene for the current control.
FMX.Presentation.Style.TStyledPresentation.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.