DesignEditors.TVariantProperty.GetProperties

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GetProperties(Proc: TGetPropProc); override;

C++

virtual void __fastcall GetProperties(Designintf::TGetPropProc Proc);

Properties

Type Visibility Source Unit Parent
procedure
function
public
DesignEditors.pas
DesignEditors.hpp
DesignEditors TVariantProperty

Description

Provides the subproperties of the property to a callback procedure.

DesignEditors.TVariantProperty.GetProperties inherits from DesignEditors.TPropertyEditor.GetProperties. All content below this line refers to DesignEditors.TPropertyEditor.GetProperties.

Provides the subproperties of the property to a callback procedure.

The Object Inspector calls GetProperties when the property is expanded to show subproperties. The GetProperties method of TPropertyEditor does nothing. Property editors that return paSubProperties from the GetAttributes method should override GetProperties to create an appropriate property editor and pass its IProperty interface to the Proc parameter for every subproperty (or nested property) of the property.

See Also