Is there a way to make a string object read only YET still allow to click in to copy the text? I don't want the user to be able to type or delete characters, but still copy the string to paste somewhere else (text editor).
I would imagine it would need a hook and ignore all input (except double click to select all, then Copy).
This would make for a nice addition to the class.
STRINGA_NoInput, TRUE,
Windows has this very handy feature; we need it.
If this feature ever gets implemented, I sincerely hope it will not be as goofed-up as in the Texteditor Gadget. Currently, if you select/copy text from a read-only texteditor, the gadget grabs input focus and your keyboard shortcuts stop working until you click somewhere outside the texteditor. This sucks. I understand the inner workings (selecting text activates the gadget) but I repeat: this sucks.
AmigaOne X5000-020 / 2GB RAM / Sapphire Pulse Radeon RX 560 / AmigaOS 4.1 Final Edition Update 2
I use this STRINGA_EditHook with GA_ReadOnly,FALSE, so the cursor is active.
I don't want the screen to beep in error since there really isn't one.