FMX.Types.TFmxObject.DefineProperties

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DefineProperties(Filer: TFiler); override;

C++

virtual void __fastcall DefineProperties(System::Classes::TFiler* Filer);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Types.pas
FMX.Types.hpp
FMX.Types TFmxObject

Description

Designates methods for storing an object's unpublished data on a stream such as a form file.

FMX.Types.TFmxObject.DefineProperties inherits from System.Classes.TComponent.DefineProperties. All content below this line refers to System.Classes.TComponent.DefineProperties.

Designates methods for storing an object's unpublished data on a stream such as a form file.

TComponent overrides the DefineProperties method defined in TPersistent to define "fake" Top and Left properties. These are defined so that components that are not controls can be manipulated at design time. However, the Top and Left properties are hidden, that is, they are not published, because only controls appear at run time.

DefineProperties is virtual; descendent classes can override it. When overriding DefineProperties, be aware that the Ancestor property of Filer might be set, and that this property can determine whether or not it is appropriate to write properties.

DefineProperties is called automatically as part of the component streaming system; do not call it directly.

See Also