Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: Disable ContextMenu  (Read 3133 times)

Taz742

  • Newbie
  • *
  • Posts: 3
    • View Profile
Disable ContextMenu
« on: March 02, 2018, 12:31:29 pm »
Hi. First of all thank you! For such good reporting system :)
I do not want the user to edit the result.

Code: [Select]
   
    report->setResultEditable(false);

But it's still possible to edit from CustomContextMenu.
To disable this function I had to edit your project.
Is there an alternative solution to this problem?

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Disable ContextMenu
« Reply #1 on: March 02, 2018, 10:27:04 pm »
Hi!
This is my mistake, I forgot about the context menu.
I have fix it and push to github.   
« Last Edit: March 04, 2018, 01:35:29 am by Arin Alex »

Taz742

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Disable ContextMenu
« Reply #2 on: March 03, 2018, 09:04:51 am »
Very good :)

Taz742

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Disable ContextMenu
« Reply #3 on: March 03, 2018, 12:18:45 pm »
I think, it is also good to copy any text from the report but not edit it.