ISDBApplication::MainTree: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
m (link to SDBTree object)
 
Line 1: Line 1:
{{MethodDeclaration|SDBApplication|ISDBApplication|Property Get MainTree As SDBTree}}
{{MethodDeclaration|SDBApplication|ISDBApplication|Property Get MainTree As [[SDBTree]]}}


===Property description===
===Property description===
Line 7: Line 7:
===Example code===
===Example code===
This example shows how to hide some main tree nodes                     
This example shows how to hide some main tree nodes                     
<source lang="vb"> Dim Tree
<source lang="vb">
  Set Tree = SDB.MainTree
Dim Tree
 
Set Tree = SDB.MainTree
  Tree.Node_MyComputer.Visible = False
 
  Tree.Node_Web.Visible = False
Tree.Node_MyComputer.Visible = False
  Tree.Node_Radio.Visible = False
Tree.Node_Web.Visible = False
  Tree.Node_Library.Visible = False
Tree.Node_Radio.Visible = False
Tree.Node_Library.Visible = False
</source>
</source>



Latest revision as of 14:47, 23 April 2013

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