TGTextEdit Focus

Hello all,

A fairly simple question about keeping focus on a TGTextEdit text box. It seems that when the mouse leaves the range of the text edit box, focus is lost and typing is halted. Is there a way to prevent this, e.g. make it so that you can type in the text edit box when the mouse is elsewhere. This was discussed briefly in the last post of: … tgtextedit
but as far as I can tell, no answer was arrived at.

Thanks for your input,

Hi Alex,

There is actually no option to change this behavior, but I’ll see what can be done.

Cheers, Bertrand.


Just stared with root and just encountered the same problem. Any workaround yet?
Furthermore, can special characters like “ö” be entered too?



Maybe this could help: Handling keys in application (more specifically the GrabKey() related part)

Cheers, Bertrand.