Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview not seeing imagelist
Message
From
25/01/2000 13:26:54
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Treeview not seeing imagelist
Miscellaneous
Thread ID:
00322319
Message ID:
00322319
Views:
54
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
Next
Reply
Map
View

Click here to load this message in the networking platform