refresh RichText-Field ?
refresh RichText-Field ?
(OP)
Hello experts,
is it possible to refresh a RichTextField in an open document by LotusScript?
I have tried already several things, f.e. the Reload-methode in the class NotesUIDocument.
Until now the only possibility to refresh a RichText-Field is to close and open the Document manualy! But this is nonsatisfying!
kind regards
Chrysch
is it possible to refresh a RichTextField in an open document by LotusScript?
I have tried already several things, f.e. the Reload-methode in the class NotesUIDocument.
Until now the only possibility to refresh a RichText-Field is to close and open the Document manualy! But this is nonsatisfying!
kind regards
Chrysch
RE: refresh RichText-Field ?
Call notesUIDocument.Refresh( [ IncludeRichTextItems ] )
Parameters
IncludeRichTextItems
Note This parameter is new with Release 5.
Boolean. Optional. Specify True to include all rich text items in the back-end document.
but doesn't seem to work.
Can anybody advise?
RE: refresh RichText-Field ?
Rich Text fields never refresh. Assuming you modified the document using LotusScript and the back end classes (NotesDocument), you have to save the document and then use the front end class (NotesUIDocument) to close it. Then use the editdocument method and the Notes document variable to reopen the document again.
Andrej Doba
andrej.doba@ie.ibm.com