Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using treeview activeX
Message
De
22/05/1998 03:36:23
 
 
À
22/05/1998 02:53:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00100616
Message ID:
00101068
Vues:
42
>>>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.
---------
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform