Clear questions and runnable code
get the best and fastest answer
Re^3: Wx::Perl: How to change/set font and size of Wx::ListCtrl column headings? (wxGrid::SetTable virtual wxGridTableBase)by jmlynesjr (Friar)
|on Mar 29, 2013 at 13:56 UTC||Need Help??|
AM, thank you for the correction. Always more to learn.
Response to my inquiry on the wxPerl mailing list:
It isn't implemented in wxWidgets - probably because the library attempts to either use the native platform controls or mimic them as closely as possible. If you cannot do it with a native control, you most likely can't do it in wxWidgets. I doubt this is seen as a missing feature so you're unlikely to see it implemented in the future.
Wx::Grid is the way to go to do what you want.
By the way, I noticed on Perl Monks some information regarding how Wx::ListCtrl handles a large number of items.
For that you need to use the wxLC_VIRTUAL|wxREPORT style. See the Wx::Demo where the virtual list control reports 100,000 items.
For a Wx::Grid control with a large number of items, you should use a custom Wx::GridTable. The example in Wx::Demo reports 100,000 columns by 100,000 rows.
Hope it helps. Sorry no positive answer on the column formatting.
There's never enough time to do it right, but always enough time to do it over...