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

runrev at animabit.de runrev at animabit.de
Wed Oct 1 12:52:51 EDT 2008


Hello 

thanks for the good info, Mark!
I have a menuPick handler in the script of the main stack to handle all menus.

After opening the group in the menueditor I saw what you mean. 
Where in the group menu does runrev store this information about shortcuts?


Regards, Franz


Original Message        processed by David InfoCenter 
Subject: Re: Re-6: I cannot paste in any field in an app (consisting of up to 7 stacks) (01-Okt-2008 18:06)
From:    Mark Wieder <mwieder at ahsoftware.net>
To:      boehmisch at animabit.de


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

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

To: use-revolution at lists.runrev.com



More information about the use-livecode mailing list