Dynamic menu propramming

Is there a proper example of a dynamic menu programming? This menu should also work for an MDI window.

i do this for my menu which is created on the fly. I create a default menu called MenuBarAS

      cnt=0
      DIM mnuMain AS New MenuItem
      mnuMain.text=imgLine(cnt)
      MenuBarAS.Append(mnuMain)
      
      cnt=cnt+1
      DIM mnuArtist AS New MenuItem
      mnuArtist.text=imgLine(cnt)
      mnuArtist.Name="MainArtist"
      mnuMain.Append(mnuArtist)

Thanks Richard,

How do you then handle the menu actions?

On the App, create Menu Handler for MainArtist and inside “frmArtist.show” which you need to PRE create which mean u can dynamically create the drop down menu BUT not the menu handler