[Gambas-user] Paste into a textarea
bagonergi at gmail.com
Tue Jan 28 09:20:23 CET 2020
Il giorno lun 27 gen 2020 alle ore 19:09 T Lee Davidson <
t.lee.davidson at gmail.com> ha scritto:
> There are two ways that text can be pasted. By keyboard (Ctrl-V) and by
> mouse (right-click, paste). Trapping the Ctrl-V key
> event is rather trivial. The only way I can think of off hand to trap a
> right-click & paste is to track and test for a certain
> sequence of events. A mouse paste would consist of a MouseDown event
> followed by a Change event (there is no MouseUp event on a
I don't know why I tried to manage the paste event and my code is really
But here your right click management always works even when you don't paste
(Undo, Select all).
I think it would be better to overwrite the popup menu.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User