Perhaps you can add a remove that takes a menu as a parameter? To remove a menu from the menubar I have to do:
idx = menu.MenuBar.getMenuIndex(menu.Caption) menu.MenuBar.remove(idx, False) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Leafe Sent: 18. juni 2007 17:04 To: Dabo Users list Subject: Re: [dabo-users] dMenu.show/hide On Jun 18, 2007, at 10:38 AM, Simen Haugen wrote: > Should these work? If I try to show/hide/Visible on a menu I get an > exception. If they shouldn't work on menus, perhaps a better error > message would be in place. No, they shouldn't work, since you don't make menus appear by commands like that. I'll modify those classes so that they print a warning message instead. Please enter a ticket on this so that I don't forget. -- Ed Leafe -- http://leafe.com -- http://dabodev.com [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
