Function TWPCustomRichText.EditMergeField(fieldname:string) : TWPTextObj

Unit: WPCTRRich
Class: WPCTRRich.TWPCustomRichText

Parameters

  • fieldname:string

Returns

The type of the result value is TWPTextObj.

Description

Edit the name of the current field or create a new one. In this case the initial name can be provided. The displayed text is created using the global format string WPEditMergeFieldDisplay, default value '[%s]