×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

refresh RichText-Field ?

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

RE: refresh RichText-Field ?

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?

RE: refresh RichText-Field ?

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close