Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 04 NOV 1998 10:30:53PM Henry Bolton wrote:

I'm having a bit of trouble with cut/copy/paste in edittables.

In the RBasic help for EVENTQUALIFIER, I found some code which would set up cut/copy/paste menu items so that users can select these instead of using Ctrl-X/C/V. The menu quickevents use Send_Message to send CUT, COPY and PASTE messages to whatever control has focus at the time. The menu events have the obvious keyboard shortcuts.

The problem is that Send_Message doesn't work with edittables. You can still use Ctrl-X/C/V because somehow these get handled without generating events, and you can cut, copy and paste using the right-click menu, but selecting my menu items doesn't have any effect. The Send_Message function returns a 0, indicating failure. It doesn't matter whether you're in edit mode or navigation mode at the time you do the cut/copy/paste.

Has anyone else noticed this? How have you got around it?

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/1de34422ab2b324c852566b300134eb1.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1