Solved

Prevent editing in preview pane?

Posted on 2002-03-15
2
383 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

726 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