PC Review


Reply
Thread Tools Rate Thread

Condition not equal code..Help!!!

 
 
g
Guest
Posts: n/a
 
      27th Aug 2008
Hi, this similar scenario that I posted recently but this one is closer to
what I need. This is a treeview on expand event.

What I need is:

If Node.key = "A1" Then

TreeView1.Nodes(NOT EQUAL TO "A1").Expanded = False

End If

I wanted my treeview to open each node one at a time here.

Thank you very much
 
Reply With Quote
 
 
 
 
Stefan Hoffmann
Guest
Posts: n/a
 
      28th Aug 2008
hi G,

g wrote:
> I wanted my treeview to open each node one at a time here.

Set the SelSingel property of your tree view and use this:

--
Private Sub ShowNode(AKey As String)

m_TreeView.Nodes.Item(AKey).Selected = True
m_TreeView.Nodes.Item(AKey).EnsureVisible

End Sub
--


mfG
--> stefan <--
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sum if Week Number and style is equal to any condition ldiaz Microsoft Excel Misc 2 11th Dec 2007 12:59 AM
Sum range of a week if condition is equal to.. ldiaz Microsoft Excel Misc 3 7th Dec 2007 10:54 PM
Sum if Condition is Equal in Range Date and find column ldiaz Microsoft Access 0 7th Dec 2007 08:08 PM
Code Does not Realise equal values helmekki Microsoft Excel Programming 2 22nd Nov 2005 01:22 AM
Where is the implemented code for Object.Equal() Bijay Kumar Microsoft C# .NET 0 24th Jul 2003 01:58 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:29 AM.