I am probably being an idiot…
I am trying to add a dynamic menuitem to a menubar. The code below works except the AddHandler line. It says that
oMI.Action doesnt exist. According to the docs( http://documentation.xojo.com/index.php/MenuItem.Action ) it does. I checked feedback/release notes but didnt find anything in regards to it being removed.
Dim oMI as New MenuItem( self.title ) oMI.name = self.Title app.mainWin.MenuBar.Child( "NotesMenu" ).Insert( app.mainWin.MenuBar.Child( "NotesMenu" ).count,oMI ) AddHandler oMI.action AddressOf self.showWindow
so what is this hairless (as I have pulled everyone last one out) programmer done or not done?