View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007175 | MMW v4 | Framework: Scripts/Extensions | public | 2011-01-14 19:13 | 2011-02-16 22:42 |
Reporter | zvezdan | Assigned To | |||
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 4.0 | ||||
Target Version | 4.0 | Fixed in Version | 4.0 | ||
Summary | 0007175: Property SDB.MainTree.Node_XXX.Expanded = True/False doesn't work (regression) | ||||
Description | None of Node_XXX.Expanded properties work anymore (tested Node_Library, Node_Album & Node_Genre). If you ask me, this is very serious problem. Several of my scripts not works anymore because they are using that functionality. However, SDB.MainTree.CurrentNode.Expanded = True/False works fine. By the way, MsgBox(SDB.MainTree.Node_Library.Caption) returns "Entire Library" instead of "Music". Tested 1333 & 1343 builds. | ||||
Steps To Reproduce | Option Explicit Sub OnStartup() Dim oMenuItem Set oMenuItem = SDB.UI.AddMenuItem(SDB.UI.Menu_Edit, 0, 0) oMenuItem.Caption = "Expand Library (Music) Node" oMenuItem.UseScript = Script.ScriptPath oMenuItem.OnClickFunc = "LibraryExpand" Set oMenuItem = SDB.UI.AddMenuItem(SDB.UI.Menu_Edit, 0, 0) oMenuItem.Caption = "Collapse Library (Music) Node" oMenuItem.UseScript = Script.ScriptPath oMenuItem.OnClickFunc = "LibraryCollapse" Set oMenuItem = SDB.UI.AddMenuItem(SDB.UI.Menu_Edit, 0, 0) oMenuItem.Caption = "Expand Current Node" oMenuItem.UseScript = Script.ScriptPath oMenuItem.OnClickFunc = "CurrentExpand" Set oMenuItem = SDB.UI.AddMenuItem(SDB.UI.Menu_Edit, 0, 0) oMenuItem.Caption = "Collapse Current Node" oMenuItem.UseScript = Script.ScriptPath oMenuItem.OnClickFunc = "CurrentCollapse" End Sub Sub LibraryExpand(oItem) SDB.MainTree.Node_Library.Expanded = True End Sub Sub LibraryCollapse(oItem) SDB.MainTree.Node_Library.Expanded = False End Sub Sub CurrentExpand(oItem) SDB.MainTree.CurrentNode.Expanded = True End Sub Sub CurrentCollapse(oItem) SDB.MainTree.CurrentNode.Expanded = False End Sub | ||||
Tags | No tags attached. | ||||
Fixed in build | 1344 | ||||