RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPropertyEditor.GetIntfValueAt Method

Returns the property value of the specified object.

Pascal
function GetIntfValueAt(Index: Integer): IInterface;
C++
__fastcall IInterface GetIntfValueAt(int Index);

Call GetIntfValueAt to obtain the current value of the property for an object in the internal list of objects being edited. Call GetIntfValueAt only if the property is a component interface type. The Index parameter identifies which object's value should be returned. It corresponds to the Index parameter of the GetComponent method. 

Use GetIntfValueAt to iterate over all current values, for example when implementing the AllEqual method. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!