RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPropertyEditor.HasInstance Method

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

Pascal
function HasInstance(Instance: TPersistent): Boolean;
C++
__fastcall Boolean HasInstance(TPersistent * Instance);

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!