>>>Hello
>>>
>>>I have try treeview and listview (page 44 FroPro Advisor) but I am not able to put images on this control. I put imagelist control first on my form and insert an image and I add a treeview control on the form. I allways have this message:
>>>
>>>ImageList must be initialized before it can be used
>>>
>>>I also tried to add item in treeview after the form is displayed but I have the same result. In my debugger my first object in my form is ImageList and the second is treeview.
>>>
>>>Any idea !
>>
>>did you try removing the treeview from the form and adding it again? they said the image list must be on the form before the treeview. i guess this is because the treeview is trying to use the imagelist before the imagelist is initialized...
>
>Yes I tried. My ImageList is the first object instanciate. I also try to add item to TreeView after the form is displayed but it have the same message. In the debugger all look fine.
>
>I also send a email to the author if he send me a solution I will tell you
thanks. i bought that issue for that article, but haven't had time to test it yet. it seems that a lot of the code that is in the mag falls short...