I am giving Xojo a go after many years of being out of this kind of stuff. I started working on a simple form a short while ago, but I am shocked that I can’t see a way to do this. It seems like such a simple and absolutely needed thing. I must surely be missing something super simple because I can’t imagine this not being possible. I have this dropdown list: atrt
How do I re-arrange the items? Surely you don’t have to start over every time you need to add a new item and need them to be in a certain order? For example, if I had 15 items in the list (alphabetical order), and needed to add one, must I deleted them all, add the new one, and then add them all back?!
asking here as there is some context …
is there somewhere a working open source example of hierarchical listbox, with row reordering ?
I did not succeed in making one…
(but I did with a non-hierarchical one…)
With some difficulty, I made it work, but I wouldn’t like to have to understand again how I did it. Most of the code is in the DragReorderRows event. I also have an SQLite database whose contents reflect the organisation of the listbox. This is kept in sync as rows are moved around or dropped on a folder.