Function TWPCustomRtfEdit.ReplaceTextMethod(FindText:string; ReplaceText:string; Options:TWPReplaceTextMethodOptions; WildCard:Char; StyleName:string; ShowMessageBox:HWND) : Integer

Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit

Parameters

Returns

The type of the result value is Integer.

Description

This method can be used to replace text in the editor. It accepts the options and parameters used be the TReplaceDialog and the new WPTools SerachAndReplace dialog.