Hello:
I am working in VFP8, SP1, and trying to add an imagelist OLE object
to a form that also has a treeview control on it. When I try to
assign the imagelist object to the treeview object, I get the
following error message at runtime:
OLE IDISPATCH EXCEPTION CODE 0 FROM TREECTL: INVALID OBJECT.
The code I'm running, in the INIT method of the treeview control
(tvProcessResults.init) is:
This.ImageList = ThisForm.oleControl1
I have set up the imagelist OLE object with several 32x32 icon images
in the ImageListCtrl Properties menu, and made sure that the INIT on
the imagelist control runs *before* the INIT on the treeview.
I can't figure out what is wrong here
Ideas?
Thanks!
Steven C