Sergiu,
There's a treeview101 sample over on my website. You really can't associate the imagelist to the treeview until both objects exist, that sample just waits until form.Init() to do it.
>I want to associate a imagelist control iml1 to a treeview. I used the syntax: thisform.tvw1.ImageList=thisform.iml1 and I received the message: OLE IDispatch exception code 0 from TreeCtrl:Invalid object...
>The some situation for thisform.tvw1.setImageList(thisform.iml1)
>I can't set the imagelist propertie from TreeCtrlProperties.I've got for the imagelist just a single choice:none but for the listview lvw1 i can do that.