Show: Delphi C++
Display Preferences

Vcl.Controls.TWinControl.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
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Provides methods to read and write the IsControl property to a stream such as a form file.

Vcl.Controls.TWinControl.DefineProperties inherits from Vcl.Controls.TControl.DefineProperties. All content below this line refers to Vcl.Controls.TControl.DefineProperties.

Provides methods to read and write the IsControl property to a stream such as a form file.

DefineProperties is called automatically by the streaming system that loads and saves VCL components. It allows persistent objects to read and write properties that are not published. Published properties are loaded and stored automatically.

DefineProperties uses the methods of the filer passed as the Filer parameter to assign methods that can load and save the IsControl property.

Override DefineProperties to persist unpublished properties. Call the DefineBinaryProperty or DefineProperty method of the Filer parameter to assign methods that load or save property values.

Note: When overriding this method, call the parent class's DefineProperties method first.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance