Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

refresh RichText-Field ?

Status
Not open for further replies.

chrysch

Programmer
May 31, 2001
1
DE
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
 
I have a similar problem. in help it says:
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?
 
for anybody still interested what the solution is:
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top