can we do that in Xojo?
It only shows if the row is a folder… So make it not a folder!
- Karen
[quote=374778:@Karen Atkocius]It only shows if the row is a folder… So make it not a folder!
- Karen[/quote]
I need hierarchical behavior, show and hide sub items.
[quote=374780:@Jason Parsley]Please see:
http://documentation.xojo.com/index.php/ListBox.DisclosureWidgetPaint[/quote]
Thanks. This is what I looking for. However, is there any workaround for old version? The project can’t be executed on old version.
As far as I know, there is no workaround for older versions.
Yes there is … and that is what I was alluding to… (forgot about the new feature)
Not all rows in a hierarchical listbox have to be folders!!!
You can add and remove rows at will and add them back as folders or not.
I have done that many times to only show the disclosure widget only after children get added to an item.
- Karen
[quote=374788:@Karen Atkocius]Yes there is … and that is what I was alluding to… (forgot about the new feature)
Not all rows in a hierarchical listbox have to be folders!!!
You can add and remove rows at will and add them back as folders or not.
I have done that many times to only show the disclosure widget only after children get added to an item.
- Karen[/quote]
Thanks. I think this can be achieved by subclassing listbox.