Stuck into HyperLink style when there is only a link inside
Posted: Thu Oct 09, 2014 11:19 am
I made a TFrame in Delphi with a TRichViewEdit in it with buttons for alignement, color, font, font-size, etc...
If I paste a link inside an empty TRichViewEdit, I'm stuck inside the hyperlink. Whatever I try to type inside the edit goes in the Link label.
Is there something I can do right after a link is pasted to "finish" the link label so the next thing I type in is not in the link ?
The OnPaste event seems to be called before the paste is done and I don't know when it's an hyperlink.
Thanks
If I paste a link inside an empty TRichViewEdit, I'm stuck inside the hyperlink. Whatever I try to type inside the edit goes in the Link label.
Is there something I can do right after a link is pasted to "finish" the link label so the next thing I type in is not in the link ?
The OnPaste event seems to be called before the paste is done and I don't know when it's an hyperlink.
Thanks