Forum > Unix
Help: Drop text to TMemo from another Application
balazsszekely:
--- Quote ---@people
I think he means dragging text from another text application(i.e. gedit) and dropping on his application to the Tmemo.
--- End quote ---
That's exactly what I did. Just select some text in gedit then drag-drop it to a memo. The lazarus application thinks you're dropping files, this is why my solution works(see above).
OH1KH:
Hi !
TForm1.FormDropFiles does not work. Dropping does not clear previous content.
As well as Memo.SelectAll does not do it.
So it seems that mouse wheel button is the only way. (linux/gtk2)
balazsszekely:
It works for me on Linux mint. I can make a video if you like. What is your system?
OH1KH:
Fedora26/LXDE
balazsszekely:
Unfortunately I don't have Fedora so I cannot test. I have one more question though. Does Form1 FormDropFiles triggered when you drag-drop something over the memo?
Navigation
[0] Message Index
[#] Next page
[*] Previous page