Function TWPCustomRtfEdit.ParStyleCPMoveTo(StyleName:string) : Boolean
Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit
Parameters
Returns
The type of the result value is Boolean.
Description
This function starts at the cursor position to locate the next style using the
named style. If it was found TRUE is returned and the cursor is moved to the paragraph.
The paragraph is also selected. If the end of the text was reached the search
starts again at the beginning - so please do not use this procedure to
modify all paragraphs which are using a certain style. Instead use a loop
like the one in procedure ParStyleMarkForReformat! Also see ParStyleLocateFirst!