Log in

View Full Version : Solved: VBIDE collapses/expands tree view, constantly changing my choice



Sebastian H
11-04-2010, 01:48 PM
The VBIDE (VB Editor) displays a tree view, with the nodes under each document grouping (1) application objects and (2) modules. By default, the former is expanded, and the latter collapsed. However, I usually work far less with application objects than with modules, so I have to manually collapse the former, and expand the latter. That wouldn't be an issue if VBIDE remembered my choice. But not only does it forget it, it even changes it at almost every occasion, such as when I open another file.

Is there a way to tell VBIDE to stop this annoying meddling with my tree?

If not, then at least maybe someone else could commiserate with me. :drunkard:

Bob Phillips
11-05-2010, 11:14 AM
The Microsoft Visual Basic for Applications Extensibility library exposes the VBIDE object model, which means that we do all sorts of things such as adding menu items to the Project Explorer popup. It doesn't provide the granularity of whichnodes in the treeview are expanded.

So, commiserations I am afraid.

Sebastian H
11-05-2010, 11:51 AM
Thanks, so at least I got plan B solution. :drink: