DesignEditors.TPropertyEditor.GetOrdValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetOrdValue: Longint;

C++

int __fastcall GetOrdValue();

Properties

Type Visibility Source Unit Parent
function protected
DesignEditors.pas
DesignEditors.hpp
DesignEditors TPropertyEditor

Description

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

Call GetOrdValue to obtain the current value of the property for the first object in the internal list of objects being edited. Call GetOrdValue only if the property is an ordinal type.

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

See Also