Difference between revisions of "ISDBApplication::MainTree"

From MediaMonkey Wiki
Jump to: navigation, search
(Property description)
Line 4: Line 4:
  
 
Returns [[SDBTree]] object for operations on the main tree.
 
Returns [[SDBTree]] object for operations on the main tree.
 +
 +
===Example code===
 +
This example shows how to hide some main tree nodes                   
 +
<source lang="vb">  Dim Tree
 +
  Set Tree = SDB.MainTree
 +
 
 +
  Tree.Node_MyComputer.Visible = False
 +
  Tree.Node_Web.Visible = False
 +
  Tree.Node_Radio.Visible = False
 +
  Tree.Node_Library.Visible = False
 +
</source>
  
 
[[Category:Scripting|{{PAGENAME}}]]
 
[[Category:Scripting|{{PAGENAME}}]]

Revision as of 12:40, 22 February 2009

CoClass SDBApplication, Interface ISDBApplication

Property Get MainTree As SDBTree


Property description

Returns SDBTree object for operations on the main tree.

Example code

This example shows how to hide some main tree nodes

  Dim Tree
  Set Tree = SDB.MainTree
  
  Tree.Node_MyComputer.Visible = False
  Tree.Node_Web.Visible = False
  Tree.Node_Radio.Visible = False
  Tree.Node_Library.Visible = False