About styles of wxTextCtrl

How i can get the style of each character (font, colour background and
colour foreground) into a wxTextCtrl whit wxTE_RICH?.

wxPython 2.3 Windows 2000.

Thank You.

...jlle@redestb.es (please remove the dots to respond)

Juan Huertas wrote:

How i can get the style of each character (font, colour background and
colour foreground) into a wxTextCtrl whit wxTE_RICH?.

There isn't a way to do it. You need to keep track of the styles yourself, or use wxStyledTextCtrl. There has been talk about adding a true RichText control to wxWindows but so far it hasn't happened.

ยทยทยท

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