DesignIntf.IProperty.HasInstance

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

function HasInstance(Instance: TPersistent): Boolean;

C++

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

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 property editor is currently editing, false otherwise.