Is it possible to simulate a key combination click?

I'm trying to simulate a (Control & C) and (Control & V) from a menuPick for "copy" & "paste." I have a popup menu that allows me to use a field with textLock true on mouseDown and the textLock false on mouseUp. This enables the mouseDown to pass the mouse message to the popup.

If I can use the already perfectly working key combinations I won't have to write custom handlers for these two menuPick selections.

Mark

I've given up on this. I have a perfectly fine Text editor for my import window that works fine with Control-C, Control-V, Control-X, Control-Z, and Delete. So trying to call these native handlers from a right-click menu has caused all kinds of problems with firing off the mouseDown messages. So I'll just add (answer "Use Control-C") messages for menuPick items in the right-click menu.


Why do you want to simulate a key combination? Wouldn't it be easier just to have your popup menu use the "copy", "paste", "cut" & "undo" commands directly?

Sarah

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to