Hi,
I want to make a DLL with TSRichViewEdit that will not be visual, I load RVF files, process the text, then I want to process (find & replace) the data in the Header and Footer. How could I process the data in the Header and Footer without entering the editing "StartEditing(srvrveHeader)" without having focus gives an error.
Edit Header/Footer without Focus
-
- Site Admin
- Posts: 17805
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Edit Header/Footer without Focus
If you want to edit headers and footers using editing operations, activating editing is the only option.
But if you want to use viewer-style methods, you can use SRichViewEdit.Subdocuments[] property.
When modifying a subdocument, make sure that it is not currently edited. Otherwise, when the user finish editing a header/footer, your changes will be overridden.
But if you want to use viewer-style methods, you can use SRichViewEdit.Subdocuments[] property.
When modifying a subdocument, make sure that it is not currently edited. Otherwise, when the user finish editing a header/footer, your changes will be overridden.
Re: Edit Header/Footer without Focus
Do you have any demo that can help me understand how to search and replace header data?