SDK:Working with Hierarchical VWListBrowserCtrl: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
== <Example> ==
== <Example> ==


[[File:Hierarchical ListBrowser.png|thumbnail|A hierarchical list browser in Vectorworks]]
[[File:Hierarchical ListBrowser.png|frameless|A hierarchical list browser in Vectorworks]]
 
We will try in this article to get the result shown above.
 
=== Basic concept : the '-' character ===
 
First thing to understand with hierarchical list browsers is that you don't insert every rows shown in the result. In our example, the inserted rows in the list browser are :
 
<code lang="cpp">
abcd-first row
abcd-2nd row
abcd-3rd row
abcd-4th row
EFGH-1st row
EFGH-2nd row
EFGH-3rd row-AA
EFGH-3rd row-BB
EFGH-3rd row-CC
</code>
 


== <other general topic> ==
== <other general topic> ==

Revision as of 05:51, 23 October 2013

.SDK|SDK ..SDK:Types|SDK Types ..SDK:Using the SDK|Using the SDK ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference

Introduction

Since Vectorworks 2013 it is possible to create hierarchical list browsers ie with rows which can be expanded to reveal other rows, recursively.


<Example>

A hierarchical list browser in Vectorworks

We will try in this article to get the result shown above.

Basic concept : the '-' character

First thing to understand with hierarchical list browsers is that you don't insert every rows shown in the result. In our example, the inserted rows in the list browser are :

abcd-first row
abcd-2nd row
abcd-3rd row
abcd-4th row
EFGH-1st row
EFGH-2nd row
EFGH-3rd row-AA
EFGH-3rd row-BB
EFGH-3rd row-CC


<other general topic>

...

See Also

SDK:Working with VWListBrowserCtrl | SDK:Layout Manager: List Browser