ISDBApplication::MainTree: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
m (link to SDBTree object)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{MethodDeclaration|SDBApplication|ISDBApplication|Property Get MainTree As ISDBTree}}
{{MethodDeclaration|SDBApplication|ISDBApplication|Property Get MainTree As [[SDBTree]]}}


===Property description===
===Property description===


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}}]]

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