Solved

Prevent editing in preview pane?

Posted on 2002-03-15
2
376 Views
Last Modified: 2013-12-18
Is it possible to prevent a user from opening a document for edit in the preview pane?

Something that comes to mind is a javascript that I've seen on web pages that says if a page is opened into a frame, it reopens itself without the frame. If you can't prevent editing in the preview pane, could something like that be done so when you open in edit mode it opens it as the whole document rather than as the preview pane?

-- b.r.t.
0
Comment
Question by:BarryTice
2 Comments
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 50 total points
ID: 6868958
Use this inpreviewpane property to block the user from edit, Eg:

Sub Postopen(Source As Notesuidocument)
     If Not source.InPreviewPane Then
          source.EditMode = False
' Or open the document in edit mode fully by using EditDocument prop of NotesUIWorkspace
     End If
End Sub

~Hemanth
0
 
LVL 7

Author Comment

by:BarryTice
ID: 6869194
Hello again, HemanthaKumar.

This has pointed me in the right direction. I've actually put this in my query mode change, where I was doing some other checking.

Thanks for the help! -- b.r.t.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question