TextCtrl, no scrollbar, no popupmenu ?

Stef Mientki wrote:

hello,

I use a wx.TextCtrl to make a small note on a graph (like a legend).
The reason for wx.TextCtrl is that I need colored text in it,
and the user is allowed to drag the TextCtrl over the graph,
maybe there are better widgets ?

If it's just for display then I would just draw the text myself in the EVT_PAINT handler. Or you could try using a wx.html.HtmlWindow instead.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!