AW: Re: wxListView, wxListCtrl or wxDataViewCtrl?
robert at roebling.de
robert at roebling.de
Fri Oct 26 06:23:45 PDT 2007
> > There may still be individual things which wxListCrl can do better,
> > but the only major drawback is that item for wxDataViewCtrl have no
> > text attributes yet (no extra font, no colour). But that is rarely
> > needed for database work, I should think.
>
> I disagree. This is commonly used, for example to denote NULL values.
> The MS SQL Server Management Studio uses "NULL" in italic, while we
use
> "[null]" in red for FlameRobin. A fully working wxDataViewCtrl would
be
> really great for us
For me, too. Seriously, this limitation can be worked around right
now by writing [NULL] or something and you actually can display
anything (including colourful text in a cell) in wxDataViewCtrl, but
you'll have to write a (simplistic) custom renderer yourself. Maybe
I'll just add one to show this. I suggest you have a look at
wxDataViewCtrl either as per the docs or the code itself in TRUNK
and let us know what you think and what is missing etc.
Robert
More information about the wx-users
mailing list