Sign in Join
FPDoc Onlineexperiment

SetFloatProp procedure

In unit TypInfo

Set value of a float property.

Declaration

pascal
procedure SetFloatProp(Instance: TObject; const PropName: string; 
 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.