Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView Node Enabled
Message
De
01/05/2002 11:39:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00651317
Message ID:
00651365
Vues:
25
>>>Thanks Cetin.
>>>It's interesting that I managed to find documentation to the Node.Enabled property if it's not really there - maybe they took it out?
>>>
>>>From the TreeView help
>>>Add Method (Nodes Collection)
>>>
>>>Dim nodX As Node   ' Declare the object variable.
>>>Dim I as Integer   ' Declare a counter variable.
>>>For I = 1 to 4
>>>   Set nodX = TreeView1.Nodes.Add(,,,"Node " & Cstr(i))
>>>   ' Use the reference to set other properties, such as Enabled.
>>>   nodX.Enabled = True
>>>   ' Set image property to image 3 in an associated ImageList.
>>>   nodX.ExpandedImage = 3
>>>Next I
>>>
>>
>>Caroline,
>>Where is this treeview help or sample (hoping really it's true).
>>With the help I can access there is no enabled property for node.
>>Cetin
>
>Cetin,
>I've always found the TreeView help a bit lacking as certain properties are there but are just not mentioned in the help ie the Nodes BackColor to name just one.
>
>The above I found in the standard help for the TreeView (Right Click on the control then select Help) by searching on enabled.
>
>But I guess that as it throws an error its not really there :-)

Caroline,
I found it. Were looking to same help but didn't notice that code at bottom. FYI though the code is VB code it doesn't work in VB either :)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform