Thanks for posting this. The images are missing, but I was able to copy the BMP files from the example on your web site, and convert them to PNGs to make it run in the latest release of Xojo. Cool.
Unfortunately, it’s not really what I’m looking for, since it has a lot of specific formatting data inside the XML file (I really want to try to keep the XML as generic as possible).
For example, from PropertyListbox:
<param type="5" visible="True" required="True">
<name>List</name>
<valuelist>Red|Green|Blue</valuelist>
</param>
How would you set a default value for the popup, when the file is loaded?
Ideally what I’d like is something that can read in any old validly formatted XML file and display it, and if there are multiple choices for a given property it will show those. For example, something like this to get the popup in the screenshot above:
<ImageAreaAndPosition>
<OutputShape type="popup">
<Shape>Stretch to fit</Shape>
<Shape selected="true">Square Pixels</Shape>
<Shape>4x3 Display</Shape>
<Shape>16x9 Display</Shape>
</OutputShape>
</ImageAreaAndPosition>
I already have an XML file I’ve started to set up for all of these items (as that’s how the project files will be saved). My original plan was that I would load that and use it to populate predefined popup menus, text fields, etc. What I’m hoping to do is find a widget that can load in an XML file, display it as a tree, and if certain nodes are flagged accordingly (type=“popup” in the example above), then it would display as a popup with the Selected element selected. This would also allow for flexibility in effectively changing the UI without having to lay out all the controls manually first. In cases where you might want to adjust camera settings, for example, there could be dozens and dozens of settings and the camera file is already saved as XML. So being able to load it up like this means I can include that in my application without having to use the camera manufacturer’s clunky app to modify templates.
In any case, maybe this just doesn’t exist. Seems like it’d be a really useful thing though, for allowing you to build a set of basic controls in a tree format, from an XML file, and just have it appear in the UI without the XML file having to be specific to the code used to display the tree.