DesignEditors.TPropertyEditor.HasInstance
| [–] 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.