EControl Syntax Editor SDK
ecPrint.TGetFieldEvent Type

TGetFieldEvent is the type of the OnGetField event.

TGetFieldEvent = procedure (Sender: TObject; const FieldName: ecString; var FieldValue: ecString) of object;


OnGetField event occurs before field is replaced with a corresponding string. 

OnGetField event is used to control the replacement of fields. 

FieldName parameter specifies name of the field before replacement. 

FieldValue parameter specifies value inserted instead of field.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!