[MAXGUI] Sub-menu example?

BlitzMax Forums/BlitzMax Beginners Area/[MAXGUI] Sub-menu example?

I understand how I can create a basic file menu.

But NOT how these sub-menus work! By sub-menu I mean a menu entry with an arrow, so that the user has 3 more options to choose from.