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:
root.cern.ch/phpBB2/viewtopic.ph … tgtextedit
but as far as I can tell, no answer was arrived at.

Thanks for your input,
Alex

Hi Alex,

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

Cheers, Bertrand.

Hi

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

Cheers,
delo

Hi,

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

Cheers, Bertrand.