Hey everyone - just started noodling with Xojo. Managed to get a sort of hierarchical left menu thing going on. I wanted to have a small icon followed by text in an expanded listbox.
Simple enough, I added a PaintCellBackground event handler to the listbox and am able to manually populate, like:
me.RowImageAt(0)=smallImage1 me.RowImageAt(1)=smallImage2 me.RowImageAt(2)=smallImage3
No trouble. Each of these items has sub-items, though, and the row images end up continuing into the expanded menu. For instance, if there are 5 sub items inside item 1 and I expand item 1, all three end up with the image.
How do I keep these images associated with the MAIN items in a hierarchical view, while giving the SUB items in expanded view their own images?