Sky Software Homepage LogicNP Software Knowledge Base And FAQ

 
Contact Product Support    SearchSearch      Subscribe to the RSS feed for this forum

HOWTO: Determine whether two TreeNode instances represent the same node.

 
Subscribe to the RSS feed for this forum  Forum Index -> FolderView ActiveX Control
View previous topic :: View next topic  
Author Message
Support



Joined: 18 Jul 2005
Posts: 731

Posted: Sat Jun 21, 2008 4:37 am    Post subject: HOWTO: Determine whether two TreeNode instances represent the same node.

Many different properties, methods and events return TreeNode instances. To determine whether two instances represent the same underlying node in FolderView, use the ID property as follows :

[VB6]
If node1.ID = node2.ID Then
' The same node
..
..
End If


[C++]
if (node1.GetId() == node2.GetId())
{
//The same node
..
..
}
Back to top
Display posts from previous:   
Forum Index -> FolderView ActiveX Control All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group