[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'TypInfo' (#rtl)

SetFloatProp

Set value of a float property.

Declaration

Source position: typinfo.pp line 829

procedure SetFloatProp(

  Instance: TObject;

  const PropName: string;

  Value: Extended

);

procedure SetFloatProp(

  Instance: TObject;

  PropInfo: PPropInfo;

  Value: Extended

);

Description

SetFloatProp assigns Value to the property described by PropInfo or with name Propname for the object Instance.

For an example, see GetFloatProp.

Errors

No checking is done whether Instance is non-nil, or whether PropInfo describes a valid float property of Instance. Specifying an invalid property name in PropName will result in an EPropertyError exception.

See also

GetFloatProp

  

Return value of floating point property

SetOrdProp

  

Set value of an ordinal property

SetStrProp

  

Set value of a string property

SetInt64Prop

  

Set value of a Int64 property

SetMethodProp

  

Set the value of a method property


Documentation generated on: Jun 23 2021