Skip to content

TFieldSetTextEvent

Event handler to get field content.

Declaration

Source position: db.pas line 261

type
  TFieldSetTextEvent = procedure(Sender: TField; const aText: string)
                                of object;

Arguments

Name Description
Sender Field which invoked the event handler.
aText User-supplied value for the field's contents.

Description

TFieldSetTextEvent is the prototype for an event handler used to set the contents of a field based on a user-edited text. It should be used when the text of a field is entered with special formatting. The event handler should set the contents of the field based on the formatted text in the AText parameter.

See also

Name Description
TField.OnGetText Event to format the field's content.
TFieldGetTextEvent Event handler to get field content.