On Tuesday, November 30, 2010 03:49:59 pm Paul McNett wrote:
> On 11/30/10 3:33 PM, John Fabiani wrote:
> > I always thought that dynamic stuff was not the way to go for grids - I
> > think I got this impression from Ed's comments to me in the past.  I
> > also believe he told me to use a CustomRenderClass.  I could also work
> > at the cell level and not just the column.
> > 
> > some_column.CustomRendererClass = PrintRedGreenBoolRenderer
> 
> I think that dynamic properties are the "Dabo" way to go for now, although
> I've always thought it would be really neat to get renderers and editors
> daboized.
> 
> I use dynamic cell foreground in a very well-used grid in my app with good
> results. Admittedly, there's still some flickering on Windows.
> 
> I may end up making a renderer, but it feels kind of dirty writing wx-level
> code in my app. :)
> 
> Paul

I agree it does feel wrong going outside of the Framework.  But in this case 
I'm sure Ed said that was the correct way.  I was just looking for the email.  
That said - it could be a very old statement from Ed and it no longer applies.

BTW my renderer has no trouble changing fonts or colors on Linux or Windows.  
I have used it many times. 

Johnf
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to