HELP : NEED to have different font color for header in listCtrl

Hi everyone,
I am new to wxpython as well as to this forum.I would like to have
different header font color and background color.
Please do guide me how can we do so in wxpython.If it is not possible
then which widget like textcontrol,grid etc
can be use so that i can have a different header font color.
Thanks

You would need to use the Grid for things like that. Also, take a look at the sample for GridLabelRenderer added in the recent release for an relatively easy way to do custom drawing of the labels.

···

On 9/13/10 3:12 AM, Ton wrote:

Hi everyone,
  I am new to wxpython as well as to this forum.I would like to have
different header font color and background color.
Please do guide me how can we do so in wxpython.If it is not possible
then which widget like textcontrol,grid etc
can be use so that i can have a different header font color.

--
Robin Dunn
Software Craftsman

Thanks robin for your guide, it solved my problem.

···

On Tue, Sep 14, 2010 at 11:56 PM, Robin Dunn robin@alldunn.com wrote:

On 9/13/10 3:12 AM, Ton wrote:

Hi everyone,

I am new to wxpython as well as to this forum.I would like to have

different header font color and background color.

Please do guide me how can we do so in wxpython.If it is not possible

then which widget like textcontrol,grid etc

can be use so that i can have a different header font color.

You would need to use the Grid for things like that. Also, take a look at the sample for GridLabelRenderer added in the recent release for an relatively easy way to do custom drawing of the labels.

Robin Dunn

Software Craftsman

http://wxPython.org

To unsubscribe, send email to wxPython-dev+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-dev?hl=en