Hi,
I have a menu where I would like to show a folder-like structure, that is, items which have subitems which have subitems which... and so on, based on the folder structure of a specific folder. I have a BarExpanderButtonCommand where I create BarPopupButtonCommand's for folders and BarButtonCommand for files. This works fine. However, once I get to adding the second level of folders and files, I'm stuck. I no longer have a BarExpanderButtonCommand to add to, and adding to the DefaultCommandLinks of the BarPopupButtonCommand doesn't work. I'm sure there are some smart way to do this, I just really can't figure it out right now hehe :).
I am using a recursive function to add folders and files, of course.
I have a menu where I would like to show a folder-like structure, that is, items which have subitems which have subitems which... and so on, based on the folder structure of a specific folder. I have a BarExpanderButtonCommand where I create BarPopupButtonCommand's for folders and BarButtonCommand for files. This works fine. However, once I get to adding the second level of folders and files, I'm stuck. I no longer have a BarExpanderButtonCommand to add to, and adding to the DefaultCommandLinks of the BarPopupButtonCommand doesn't work. I'm sure there are some smart way to do this, I just really can't figure it out right now hehe :).
I am using a recursive function to add folders and files, of course.