DesignEditors.TPropertyEditor.HasInstance
Delphi
function HasInstance(Instance: TPersistent): Boolean;
C++
bool __fastcall HasInstance(System::Classes::TPersistent* Instance);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | DesignEditors.pas DesignEditors.hpp |
DesignEditors | TPropertyEditor |
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.