Sign in Join
FPDoc Onlineexperiment

TObject.FieldAddress function

Member of TObjectpublicIn unit System

Return the address of a field.

Declaration

pascal
function FieldAddress(const name: shortstring): pointer

Description

FieldAddress returns the address of the field with name name. The address is the address of the field in the current class instance.

Errors

If no field with the specified name is found, Nil is returned.

See also

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