Function TWPCustomRtfEdit.LockRichtext : BooleanUnit: WPCTRMemoClass: WPCTRMemo.TWPCustomRtfEditReturnsThe type of the result value is Boolean. Description If this function returns TRUE the editor waits for ProcessMessages. You can check the result values to avopid loading text while a scrolling operation was not finished.