Since I was asked for a few enhancements, here’s a quick update to my previous Folder Contents in a Menu post from earlier this week. Enhancements include: Display the requested folder in the menu.
Sort the folder contents.
Skip files that cannot be accessed.
Tag: Listbox
Folder Contents in a Menu
Published February 23, 2021
by
Paul Lefebvre
A user on the forum asked how they might show folder contents in a PopupMenu. Since a PopupMenu is not hierarchical, that wasn’t really an option. But an alternative would be to show the contents in a hierarchical menu. Here’s how you can recurse through files and add them to a regular MenuItem.
Comments closedCustomize Your ListBox Headers
Published September 8, 2020
by
Javier Menendez
Sure, Xojo 2020r1 introduces some long awaited and much requested features but it’s also got a lot of feature gems it in it like the ability to customize the ListBox headers!
Comments closedLazy Loading Data with ListBox
Published April 17, 2020
by
Paul Lefebvre
The ListBox is a great control for showing users lists of data, even data with lots and lots of rows. But the ListBox, being a…
Comments closed