Cut and paste in edittables (None Specified)
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?