Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using treeview activeX
Message
From
22/05/1998 03:36:23
 
 
To
22/05/1998 02:53:11
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00100616
Message ID:
00101068
Views:
44
>>>Thanks a lot.
>>>It works fine. But now I've another problem.
>>>How to make always visible icons associated to items regardless they are selected or not ?
>>>Thank you again
>>>Alessio
>>
>>I'm not sure I understand your question. Could you describe it more completely? Are you referring to using the treeview and imagelist together, or is this question about only one of these controls? Thanks.
>
>I was trying to put pictures in the treeview control, so I have to reference to a imagelist control (is it right ?), It works fine but icons associated with items are showed only when items are selected then they become invisible.
>I tried with selectedimage property and expandedimage property but they don't give me the result I want.
>To be more exact , i want to build a control like the project manager window.
>Thank yoy again
>Alessio

In the add method, you must indicate the image for selected item and the image for not selected item. Like this:

mytreeview.Nodes.add(, , mykey, mytext, 1, 2)

the two last parameters are the images to be used. Hope this helps.
Saludos,
A.G.P.
---------
Previous
Reply
Map
View

Click here to load this message in the networking platform