TRichview and auto set focus
Posted: Mon Mar 19, 2007 1:42 pm
I'm using a TRichViewEdit as a chat text control. The problem I am having is that certain operations, such as scanning for URLs makes the control set focus to itself, which is really annoying when you're trying to type in another control.
I'm using HTML and the HTML Importer, as well as a scan url procedure.
Is there any way to prevent SetSelectionBounds from setting the focus to the control? It makes programatic adding of text impossible to work with.
I'm using HTML and the HTML Importer, as well as a scan url procedure.
Is there any way to prevent SetSelectionBounds from setting the focus to the control? It makes programatic adding of text impossible to work with.