ISDBTree::CurrentNode: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| Line 4: | Line 4: | ||
Gets or sets the current tree node.  | Gets or sets the current tree node.  | ||
To avoid object errors during runtime, you should always verify the object is valid before using or referencing it.  | |||
<code>  | |||
Function Foo  | |||
  If Not (SDB.MainTree.CurrentNode Is Nothing) Then  | |||
  	'do whatever here  | |||
  End If  | |||
End Function  | |||
</code>  | |||
[[Category:Scripting|{{PAGENAME}}]]  | [[Category:Scripting|{{PAGENAME}}]]  | ||
Revision as of 18:53, 12 March 2008
CoClass SDBTree, Interface ISDBTree
Property Get/Let CurrentNode As ISDBTreeNode
Property description
Gets or sets the current tree node.
To avoid object errors during runtime, you should always verify the object is valid before using or referencing it.
Function Foo
 If Not (SDB.MainTree.CurrentNode Is Nothing) Then
 	'do whatever here
 End If
End Function