TGTextView and Mark()

I want to programatically mark a selection in a TGTextView, really just so it is highlighted for the user’s benefit. I’m assuming Mark() would do that, but it is a protected member function, and I’m not (yet) deriving any class from TGTextView.

Why is Mark() a protected member? It seems harmless enough.

How can I programatically select some text in a TGTextView?

Thanks,

buddy

Hi buddy,

[quote]Why is Mark() a protected member? It seems harmless enough.[/quote]No idea, but I’m not sure it would be useful anyway, except if you know the x/y position of the text to be highlighted (now it is used by the mouse selection)

[quote]How can I programatically select some text in a TGTextView?[/quote]I afraid you cannot…I’ll see what can be done and let you know.

Cheers, Bertrand.