Solved

Prevent editing in preview pane?

Posted on 2002-03-15
2
377 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

821 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