RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPropertyEditor.GetFloatValueAt Method

Returns the property value of the specified object.

Pascal
function GetFloatValueAt(Index: Integer): Extended;
C++
__fastcall Extended GetFloatValueAt(int Index);

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

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

 

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