TOnBeforeSetupField procedure type
Event type for formatting field values before display
Declaration
TOnBeforeSetupField = procedure(AObject: TObject;
const AFieldName: string;
var AValue: string) of objectArguments
AObject | Object containing the field being formatted |
AFieldName | Name of the field being processed |
AValue | Value to be formatted for display |
Description
The TOnBeforeSetupField procedure type defines the signature for events
that allow formatting of field values before they are written to list view captions or items.
This event provides access to the object, field name, and value that can be modified.
This event is meant to provide the possibility to apply custom formatting for dates, numbers, or other data types.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
