Hi! I am having a set of objects for a number of parent objects.
Looking something like this in .xml:
<transports>
<transportation>
<id>1</id>
<object>
<type>car</type>
...
</object>
<object>
<type>train</type>
....
</object>
<object>
<type>airplain</type>
....
</object>
</transportation>
<transportation>
<id>2</id>
<object>
<type>car</type>
....
</object>
</transportation>
</transports>
Problem here is that all object types ends up in the same ListBox. Any idea how I can make each object-type get their own ListBox?
(In the end I would like to have the possibility to choose a "car" in a ListBox for id 1 and 2. But if I also select "train" in the "trains" ListBox" I would like to only get selections for id 1.)