BeginItemModify/EndItemModify/Change do not work when TSRichViewEdit in a TFrame
BeginItemModify/EndItemModify/Change do not work when TSRichViewEdit in a TFrame
My TSRichViewEdit is placed on a TFrame,It can not update my editing result (with code) immediately As Topic.And it will scroll to the document's top after calling TSrichViewEdit.Format .I want to keep the view position after edit, Any suggestions?
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: BeginItemModify/EndItemModify/Change do not work when TSRichViewEdit in a TFrame
Sorry, what code exactly scrolls to the top?
If Format, it is because Format moves the caret to the beginning of the document, and the editor shows the caret.
If Format, it is because Format moves the caret to the beginning of the document, and the editor shows the caret.
Re: BeginItemModify/EndItemModify/Change do not work when TSRichViewEdit in a TFrame
I wonder whether there is a method to update the document's content partially after editing. or I must scroll to the item manually after calling the editor format method.Thanks a lot:)
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: BeginItemModify/EndItemModify/Change do not work when TSRichViewEdit in a TFrame
If you call editing methods, they automatically update only modified paragraphs, no need to call Format.
What editing operations do you perform?
What editing operations do you perform?
Re: BeginItemModify/EndItemModify/Change do not work when TSRichViewEdit in a TFrame
I avoid this problem:) Thank u:)