PasteKey Bug?

Mark Schonewille m.schonewille at economy-x-talk.com
Thu Dec 17 13:12:29 EST 2009


Hi Marty,

I don't know whether this is a bug or not, but I have no problem with  
calling the same handler from the pasteKey and the menuPick handler.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Full PayPal integration and automation in web site or (Revolution/ 
SuperCard/other) software. Contact me for a quote
http://economy-x-talk.com/contact.html

Op 17 dec 2009, om 17:35 heeft Marty Knapp het volgende geschreven:

> I'm having trouble with the pasteKey message not being caught (I  
> understand that it does not function in the IDE without suspending  
> the development tools).
>
> I tried this twice - make 2 identical stacks, each with a field. In  
> the field script I put:
>
> on pasteKey
>  answer "No pasting allowed"
> end pasteKey
>
> Then take one of the stacks and install a menubar with the default  
> settings. Script the cut - copy - paste commands with cut, copy &  
> paste respectively. Then suspend development tools, copy some text  
> from somewhere and try to paste into the 2 stacks. The stack without  
> the menubar catches the pasteKey message, but the stack with the  
> menubar does not and the text is pasted.
>
> Is this a bug, or am I not understanding something? (This has been  
> driving me crazy for a while)
>
> Marty





More information about the Use-livecode mailing list