View Issue Details

IDProjectCategoryView StatusLast Update
0004448MMW v4Framework: Scripts/Extensionspublic2009-02-22 12:41
Reporteruser_DaleAssigned To 
PrioritynoneSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.1 
Fixed in Version3.1 
Summary0004448: Some standard tree nodes don't pay attention to visibility
Descriptionas an example, writing a script like this doesn't work as it should.

Sub OnStartup
  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

End Sub



The Library node will become hidden correctly, but none of the other nodes listed will.
TagsNo tags attached.
Fixed in build1186

Activities

user_Dale

2008-03-09 23:54

updater   ~0013264

on further analysis, this is probably not a bug.
What is actually happening is that different filters can already have different visibility settings for those nodes.

Those visibility settings seem to be applied last upon start of the program, and so the script looks like it's doing nothing.

jiri

2008-03-12 10:15

administrator   ~0013296

Dale is most likely right, this can't work well due to view settings in filters. Assigning to Petr to review what could we do about this, maybe we could somehow map the changes made by script to filter settings. However, it doesn't seem to be anything really urgent or too important.

petr

2008-09-16 21:36

developer   ~0014593

Fixed in 1186

peke

2009-02-22 12:41

developer   ~0016889

verified 1224

Wiki Updated to include example