Is this acceptible in a keydown event of a listbox that I do not wish
the user to be able to paste into? I am writing this for windows and Mac
#If TargetWin32
s= Ctrl+V
#ElseIf TargetMacOS
s=Cmd+V
#End if
if key=s then
return true
end if
Thanks
On Dec 13, 2006, at 9:42 AM, Carlos M wrote:
If you're developing for Windows, be careful because just this will
not prevent
copy/paste. Although the Edit menu items are disabled, users can
still use
Ctrl+C (Copy) and Ctrl+V (Paste) on those editfields.
On Windows you have also to check on the KeyDown event for the Ctrl
+C and Ctrl+V
to not allow the copy or paste.
But then you will have other problem: users can drop text on the
editfields -
using a canvas over an editfied to get the drop does not work on
windows.
Carlos
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>