RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPropertyEditor.GetFloatValue Method

Returns the property value of the first object currently being edited.

Pascal
function GetFloatValue: Extended;
C++
__fastcall Extended GetFloatValue();

Call GetFloatValue to obtain the current value of the property for the first object in the internal list of objects being edited. Call GetFloatValue only if the property is a float type. 

If more than one object is currently being edited, GetFloatValue returns the value for the object returned by GetComponent(0). To obtain the current property value for every object currently being edited, use the GetFloatValueAt method. 

 

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