Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX TreeView works: but NO images!
Message
From
31/03/1999 11:14:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
ActiveX TreeView works: but NO images!
Miscellaneous
Thread ID:
00203909
Message ID:
00203909
Views:
49
Compadres,

I created an ActiveX(formerly OLE) TreeView object in Visual FoxPro 5.
I made a table with the node names and numbers that designate the
parent for each node. In the form Init Method
we scan the table O' Nodes and like magic the nodes are populated...

It works... but all I get is a tree hierarchy with words and lines... thus:

RootNode_
|_Parent1Node_
|_Child Node

But even after adding a Microsoft ImageList object on
the same form I don't get the cool little icons for each tree node like I should. I added icons to the Imagelist and attempted to
put the ImageList name in the ImageList property of the
TreeView control. But the TreeView object acts like it cannot even see the ImageList object.

The imagelist property seems to be broken...

When I right-click on the treeview control and TRY to set the imagelist property
the TreeViews imagelist pulldown only shows as the name of possible
ImageLists. Trying this in VB, this property pulldown automatically listed the name of the ImageList I had put onto the form, and it works perfectly.

The imagelist property fails to recognize the fully configured imageList I set up on the form. This is odd...

Is there a work-around or step that I missed?

Regards,
Next
Reply
Map
View

Click here to load this message in the networking platform