Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: how to disable copy/paste option in defect module

$
0
0

Place your script into Common Script -> EnterModule.

 

Try following script(it works for me):

Sub EnterModule
  'Use ActiveModule and ActiveDialogName to get
  'the current context.
  On Error Resume Next
  if ActiveModule = "Defects" then
         Actions.Action("Defects.Copy").Enabled = false
         Actions.Action("Defects.Paste").Enabled = false
          end if
  On Error GoTo 0
End Sub

 BTW - This way you can disable ANY action in ANY Module. 


Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>