DesignIntf.IProperty.Activate

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IProperty

Delphi

procedure Activate;

C++

virtual void __fastcall Activate() = 0 ;

Description

Responds when the property is selected in the Object Inspector.

The Object Inspector calls Activate when the property is selected. This method lets a property editor determine attributes of the property dynamically when it is displayed in the Object Inspector.

Before Activate is called, the GetAttributes method does not need to provide accurate information about any attributes other than paSubProperties, paVCL, and paMultiSelect. Any other attributes can be computed in the Activate method and stored so that subsequent calls to GetAttributes can provide accurate information.

See Also