Unit 'fpobserver' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

TOnBeforeSetupField

Event type for formatting field values before display

Declaration

Source position: fpobserver.pp line 169

type TOnBeforeSetupField = procedure(

  AObject: TObject;

  const AFieldName: string;

  var AValue: string

) of object;

Arguments

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

TListItemMediator.OnBeforeSetupField

  

Event for formatting field values before display


Documentation generated on: Dec 15 2025