Larry it does for windows only. So my issue continues. Johnf On Monday 04 June 2007 12:20, [EMAIL PROTECTED] wrote: > Simple syntax error. == vs = was being used > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Ed Leafe > Sent: Monday, June 04, 2007 3:07 PM > To: Dabo developers' list > Subject: Re: [dabo-dev] I can't get ForeColor to work > > On Jun 1, 2007, at 9:35 AM, Ed Leafe wrote: > >>> Works in WinXP and Mac OS X; confirmed that it doesn't work in Gtk. > >>> I tried dropping down to wxPython, and calling > >>> txt.SetForegroundColour > >>> ((255,0,0)) doesn't have any effect either. I'd say it's a wxPython/ > >>> Gtk bug. > >> > >> Thanks for the info. Maybe the next version of wx will work. > > > > I've posted a message about this on the wxPython list. > > And here is Robin's response: > > Ed Leafe wrote: > >> I have an app where a text control needs to be displayed in red > >> if certain conditions apply. The code that does this looks like: > >> theTextCtrl.SetForegroundColour((255, 0, 0)) > >> This works great under OS X and Windows, but has no effect on > >> Gtk: the text remains black. It has been tested on Kubuntu 7.04 and > >> OpenSUSE 10.2, with both wxPython 2.6.x and 2.8.4. > >> Any ideas as to what the problem could be? > > > > This is probably a problem with the GTK theme. > > > > Hmm... It also happens when there is no theme active, which I didn't > > expect. Please enter a bug report about this one. > > So John, it looks like you found a bug in wxPython. > > -- Ed Leafe > -- http://leafe.com > -- http://dabodev.com > > > > [excessive quoting removed by server]
_______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]
