HyperTreeList experimentation

Hi Stephen,

···

On Nov 16, 2007 9:56 AM, Andrea Gavana wrote:

Hi Stephen,

On Nov 16, 2007 3:54 AM, Stephen Hansen wrote:
> 'Allo! I was just doing some experimentation, and was about to write a
> message about how hey, I wish I could combine CustomTreeCtrl and
> TreeListCtrl -- and then happened across Andrea's HyperTreeList. NIce, nice.
>
> One problem I have found though is if I do something like:
>
> for n, line in enumerate(data):
> child = self.AppendItem (self.root, line[0])
>
> if n % 2 == 0:
> self.SetItemBackgroundColour(child, wx.NamedColour("light
> blue"))
>
> to get alternating backgrounds on each line, they all still end up white. Is
> that supported?
>
> Any ideas? Thanks in advance.

It's a bug, it should work but I don't know why it doesn't :smiley: . I'll
work on it later and I will upload a new version when it will be
fixed. Unfortunately HyperTreeList is not fully tested (it's a fairly
new control and almost nobody uses it) and for sure other bugs will
appear in the future...

It looks like I have fixed this bug, could you please try the latest
version available on my website? I have tested it only on Windows.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/