Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Community,
I have a hierarchy list box in a tree view, and the problem is that by default on open it is always collapsed. User has to "Expand All" every time. I'm trying to find a solution to get it either
- Expanded by default (this is my first choice)
or
- Always expanded.
Looking for a macro, I found a method "ExpandedNodes" in the API guide for QV 9 (this is what I use in this particular case), but no examples nor any description. It doesn't exist in QV10 API.
Appreciate any hint in the right direction or at least in the ballpark.
Thank you
Hi,
have you found a solution for expanding tree view list box by default (without macros)?
Regards,
Thomas
No
Thanks!
Have you tried, saving your document with the tree view expanded? that has worked for me.
Hi John, unfortunately this did´t work for me.
Thanks
Thomas
This is exactly what I tried before going to macros.
I didn't try recently. There were many changes since 2011, maybe it works in the latest versions. I don't need it now but will give a try eventually
I've also noticed something else. when the list box is linked to other list boxes it defaults to closed when refreshed from the server. But, if it is not linked, as it's own independant list box and refreshed manually. The list box stays opened. weird.