Sign in Join
FPDoc Onlineexperiment

TObject.ToString function

Member of TObjectpublicIn unit System

Return a string representation for the object.

Declaration

pascal
function ToString: RTLString; virtual

Description

ToString returns by default the class name of the object. It is useful during sending of debug messages.

Descendent classes can override this method to give a better description of the object than just the class name.

See also

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