WEll you can't block it in the IDE very easily.. but I found that if I had just this:

on commandKeyDown theKey
  switch theKey
  case "a"
    if the selectedField is not empty then
      select text of the selectedField
    end if
    break
  end switch
end commandKeyDown

then cmd-x,c,v (copy, cut, paste) were all blocked... so I suspect if you have a commandKeyDown theKey handler, and no "a" case, then it might get blocked, at least in a standalone. but then you have to code them all, which I did finally.


on commandKeyDown theKey
  switch theKey
  case "a"
    if the selectedField is not empty then
      select text of the selectedField
    end if
    break
  Case "x"
    if the selection is empty then exit to top
     cut
    break
  case "c"
      if the selection is empty then exit to top
      copy
    break
  case "v"
    paste
    break
  end switch
end commandKeyDown

Sivakatirswami




On Nov 16, 2005, at 4:29 PM, Charles Hartman wrote:

I'm curious about this too, because I have found that *blocking* cmd-A (= select all) in a field is very hard, meaning I haven't found a way to do it. (So I had the opposite problem from the o.p.) Oddly enough, cmd-C (= copy) seems also to work by itself, but I found I had to write code to implement cmd-V (= paste). Puzzling.

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to