Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview:
Message
De
30/06/2005 09:19:00
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01026975
Message ID:
01027647
Vues:
16
Thanks alot. The reason for this is I have a list on the right (similar to outlook) which shows all children of current node and leaves have no children so that list is empty.
and that looks funny

Peter

>My mistake. I couldn't beleive that some object doesn't have Enabled.
>I'll try to find a way.
>
>>
oNode.Enabled = .f.
>>causes an error.
>>I wanted to do something like ths but did not find an enabled property in the nodes object <s>
>>
>>
>>
>>
>>>First thing that comes to my mind:
>>>
>>>FOR EACH oNode IN thisform.oleTree.Nodes
>>>    IF TYPE("oNode.Child") # "O" .OR.;
>>>       ISNULL(oNode.Child)
>>>       oNode.Enabled = .f.
>>>    ENDIF
>>>ENDFOR
>>>
>>>(not tested)
Peter Cortiel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform