Listbox switch row to folder

If I have a listbox and I add some folders and some rows, I can drag a row and drop it somewhere.
If the somewhere was added as a row, I would like it to become a folder with children.
Is there a way to change the type of a list line item from a normal row into a folder, on the fly without having to delete and repaint?

You can just set myListbox.rowisFolder(row)=true

This is what you get by hanging onto older Xojo releases.
Now and then, something useful gets added.
The app I needed this for was written in 2013, and it didnt exist then.
Woohoo… now it does.

[quote=396258:@Jeff Tullin]This is what you get by hanging onto older Xojo releases.
Now and then, something useful gets added.
The app I needed this for was written in 2013, and it didnt exist then.
Woohoo… now it does.[/quote]

You could have done it yourself back then… I did it long before that!

  • karen

Oh?
The call was added in 2014.
I assume you deleted a row and re-added it back then?

[quote=396288:@Jeff Tullin]Oh?
The call was added in 2014.
I assume you deleted a row and re-added it back then?[/quote]

Yes and it worked just fine.

  • karen