I am trying to set the imagelist property of a treeview control.
In the init event of the the control I have the following code:
THIS.OBJECT.IMAGELIST = THIS.PARENT.IMAGELIST.OBJECT
The treeview and image list are in the same container. I have verified that the zorder is correct. (The imagelist loads before the treeview; I put a wait window statement in the init of the imagelist and the init of the treeview to double check.)
But I still get the following error message:
Olel Dispatch exception code 0 from TreeCtrl: Invalid object
Thank you for pointing whatever elementary syntax error I'm overlooking.
Thanks
Gar
Thanks
Gar W. Lipow