I created a nice subclass of the TextInputCanvas-Plugin on macOS. Now I wanna implement Cut, Copy, Paste and SelectAll for keyboard inputs. I thought it would work analog via the DoCommand-Event:
Select Case command Case CmdUndo MsgBox "Undo" // ⌘Z Case CmdCopy MsgBox "Copy" // ⌘C case CmdCut MsgBox "Cut" // ⌘X Case CmdPaste MsgBox "Paste" // ⌘V End Select Return True
No message boxes displayed with the key combinations. Why The commands do not work?
And: Is there a way to implement a DoubleClick-Event? Canvas has such an Event. TextInputCanvas doesn't have!