Post
by AxWald » Mon Apr 12, 2021 2:38 pm
Hi,
cmhjon wrote: ↑Mon Apr 12, 2021 2:04 pm
does this mean that I must also code what happens when someone right clicks a text field and chooses, "Paste"?
Yes.
Right-Click menus have not been regarded important enough to be implemented using the OS' system calls. So you have to code them yourself - have fun doing it in a way that doesn't look "self made" & clumsy ;-)
You may try to embed a browser window as field, so you can use JavaScript & HTML whenever LC script or LCs formatting capabilities are lacking - does the browser engine support standard OS context menus?
(And no, I cannot tell you why the mothership has taken this way instead of improving their very own product ...)
Have fun!
All code published by me here was created with Community Editions of LC (thus is GPLv3).
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!