Re: [dabo-users] transparent dPanel background

2013-09-17 Thread Ed Leafe
On Sep 16, 2013, at 10:37 PM, Paul McNett p...@ulmcnett.com wrote: The different platforms are different in this regard. Try panel.BackColor = None. Alternatively, why not add a gradient to the panel? You can use: self.gradient = self.drawGradient(orientation=v, color1=grey, color2=white)

Re: [dabo-users] transparent dPanel background

2013-09-17 Thread John Fabiani
On 09/17/2013 05:24 AM, Ed Leafe wrote: On Sep 16, 2013, at 10:37 PM, Paul McNett p...@ulmcnett.com wrote: The different platforms are different in this regard. Try panel.BackColor = None. Alternatively, why not add a gradient to the panel? You can use: self.gradient =

Re: [dabo-users] transparent dPanel background

2013-09-17 Thread Ed Leafe
On Sep 17, 2013, at 9:27 AM, John Fabiani jo...@jfcomputer.com wrote: def onPaint(self, evt): #trying to simulate the MS windows gradient background dc = wx.PaintDC(self) x = 0 y = 0 w, h = self.GetSize() dc.GradientFillLinear((x, y, w, h), 'light

Re: [dabo-users] transparent dPanel background

2013-09-17 Thread John Fabiani
On 09/17/2013 07:31 AM, Ed Leafe wrote: On Sep 17, 2013, at 9:27 AM, John Fabiani jo...@jfcomputer.com wrote: def onPaint(self, evt): #trying to simulate the MS windows gradient background dc = wx.PaintDC(self) x = 0 y = 0 w, h = self.GetSize()

Re: [dabo-users] transparent dPanel background

2013-09-17 Thread John Fabiani
On 09/17/2013 07:48 AM, Ed Leafe wrote: On Sep 17, 2013, at 9:40 AM, John Fabiani jo...@jfcomputer.com wrote: None that I could see. Of course I did not benchmark the routines. I used wx.onPaint because I was hoping I'd get a different result and that it would allow a dynamic color change

Re: [dabo-users] transparent dPanel background

2013-09-17 Thread Ed Leafe
On Sep 17, 2013, at 9:40 AM, John Fabiani jo...@jfcomputer.com wrote: None that I could see. Of course I did not benchmark the routines. I used wx.onPaint because I was hoping I'd get a different result and that it would allow a dynamic color change as I resized the form. I guess getting at