Re: Problems with TextAttr

Alexander Olk <[email protected]> Tue, 21 Dec 2004 18:54:58 +0100
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <1103651698.5597.3.camel@Dellkiste>
Am Dienstag, den 21.12.2004, 17:51 +0100 schrieb NoSpamPlease:
> To create a Syntax Highlight Editor i need TextCtrl.SetStyle but i get
> Exceptions with TextAttr class. I already tryed (wxWidgets 2.4\wx.NET
> 0.5), (wxWidgets 2.4\wx.NET 0.6) and (wxWidgets 2.5\wx.NET 0.6) but can`t
> get it run. OS: Gentoo Linux - Mono: 1.0.4

> wx.TextAttr ta = new wx.TextAttr(wx.Colour.wxBLUE);
> wx.TextAttr ta = new wx.TextAttr();

I've tried both now and do not get any error. OS here is Debian
unstable/experimental with Mono 1.0.5

Could you provide a little bit more code (you can send it to my email
adress...)

Alexander Olk





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/