Author Topic: Disable Edit by double clicking on forms  (Read 4852 times)

0 Members and 1 Guest are viewing this topic.

Offline Corps

  • Sr. Member
  • *
  • Posts: 274
  • Karma: +0/-0
    • View Profile
Disable Edit by double clicking on forms
« on: November 05, 2008, 04:52:48 AM »
Hi All,

I am new to notes. i have a requirement which In my notes client application i want to disable double clicking , when i double click on form it change into edit mode there is a Edit button on the form in which formula is used

Code: [Select]
@command([editdocument]).
when i use querymodechange event

Code: [Select]
Sub Querymodechange(Source As Notesuidocument, Continue As Variant)
continue=False
End Sub

it disable entire edit activity means not able thru Edit button .
please suggest what required in the code coz i dnt want to remove edit button from my form .

Thanks a lot.
« Last Edit: October 28, 2016, 04:49:02 AM by Corps »

Techronnati | where technology never sleeps

Disable Edit by double clicking on forms
« on: November 05, 2008, 04:52:48 AM »

Mountain View

Offline JusticeLeague

  • Sr. Member
  • *
  • Posts: 354
  • Karma: +1/-0
    • View Profile
Re: Disable Edit by double clicking on forms
« Reply #1 on: October 28, 2016, 04:54:08 AM »
Hi All,

I am new to notes. i have a requirement which In my notes client application i want to disable double clicking , when i double click on form it change into edit mode there is a Edit button on the form in which formula is used

Code: [Select]
@command([editdocument]).
when i use querymodechange event

Code: [Select]
Sub Querymodechange(Source As Notesuidocument, Continue As Variant)
continue=False
End Sub

it disable entire edit activity means not able thru Edit button .
please suggest what required in the code coz i dnt want to remove edit button from my form .

Thanks a lot.


You can probably add some flagging mechanism on your code like when you hit on the button, there's a condition when it goes to querymodechange event.


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
132 Views
Last post September 15, 2008, 02:02:54 AM
by MoneyRepublic
1 Replies
167 Views
Last post April 07, 2017, 07:39:13 AM
by Corps
0 Replies
110 Views
Last post December 02, 2008, 06:35:26 AM
by MrSpecialist
1 Replies
81 Views
Last post January 24, 2010, 10:53:58 AM
by MrSpecialist
0 Replies
40 Views
Last post January 24, 2010, 10:59:42 AM
by CyborgRepublic

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.