HtmlListBox

Hi,

    I am trying to set the background of an item in the list but I
can't find a way to do that. I tried <body bgcolor=green> on the
item's markup but it doesn't work. Does anyone know a way to do this ?

Murat Erten wrote:

Hi,

   I am trying to set the background of an item in the list but I
can't find a way to do that. I tried <body bgcolor=green> on the
item's markup but it doesn't work. Does anyone know a way to do this ?

Override OnDrawBackground and do it there.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Thanks Robin.

···

2007/1/16, Robin Dunn <robin@alldunn.com>:

Murat Erten wrote:
> Hi,
>
> I am trying to set the background of an item in the list but I
> can't find a way to do that. I tried <body bgcolor=green> on the
> item's markup but it doesn't work. Does anyone know a way to do this ?

Override OnDrawBackground and do it there.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org