Re-6: I cannot paste in any field in an app (consisting of up to 7 stacks)

Mark Wieder mwieder at ahsoftware.net
Wed Oct 1 12:06:23 EDT 2008


Franz-

Wednesday, October 1, 2008, 1:45:33 AM, you wrote:

> the http://animabit.de/runrev/test.exe is a 2.9 standalone which
> loads the runrev stack with the same name in the same dir. If
> someone wants to download  both files in a dir and test it.

> The Problem are the menuitems in the background group in a
> standalone. If I delete the menuitems and just put a button in the
> background group it works in the standalone.

Here's your problem: in your background menu group you have defined
the control-V keyboard sequence, so you're trapping it from the
keyboard in your Bearbeiten button but you haven't put in any code to
process it.

You can paste into the fields with control-shift-insert, so the paste
mechanism is working fine in the standalone. You can change the
keyboard equivalent for the paste operation in your menu, or you can
put some paste code in the menu handler.

on menuPick pChoice
 answer "I got it"
end menuPick

Now... here's where I think this is still a bug... if you disable the
Bearbeiten button then you obviously can't select it with the mouse.
But it *still traps the control-V keyboard sequence*. I think
disabling the button should disable the keyboard traps as well.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list