ok so just set the filemenu(parent item) invisible and then call the
same menu with filemenu.popup.
All menus are contained by the form parent... just they are visible or not.
Post by Leon DavisI have created a form with containing a component I designed. When the
program is started the menu is created: MenuItem = new Menu(FormMain) as
"FileMenu" and is displayed as a text menu of the form. There is also a
MenuItem = new Menu(Control) as "PopupMenu". One of the options I want to
present is to the user is to move the "FileMenu" to the "PopupMenu" so that
the "FileMenu" is no longer displayed on the form but on the "PopupMenu".
Post by CharlieCan you supply more detail and an example of what you are trying to do?
-----
Check out www.gambas.one
--
View this message in context: http://gambas.8142.n7.nabble.
com/reparent-menu-item-tp59386p59397.html
Sent from the gambas-user mailing list archive at Nabble.com.
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
https://lists.sourceforge.net/lists/listinfo/gambas-user
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
https://lists.sourceforge.net/lists/listinfo/gambas-user