DesignEditors.TPropertyEditor.HasInstance

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
DesignEditors.pas
DesignEditors.hpp
Unit: DesignEditors
Parent: TPropertyEditor

Delphi

function HasInstance(Instance: TPersistent): Boolean;

C++

bool __fastcall HasInstance(System::Classes::TPersistent* Instance);

Description

Indicates whether a specified object is currently being edited by the property editor.

HasInstance returns true if the Instance parameter references one of the objects that the GetComponent method returns, false otherwise.

See Also