[Gambas-user] Look up menu items

Tobias Boege taboege at ...626...
Fri Apr 21 14:53:52 CEST 2017

On Fri, 21 Apr 2017, bill-lancaster wrote:
> I'd like to read through all the menu items from code in a project.  The menu
> items were created using the Menu Editor
> Can anyone point me in the right direction?

Independently of the menu editor, you can get all the top-level menus in
a form MyForm by enumerating MyForm.Menus. Project attached.


"There's an old saying: Don't change anything... ever!" -- Mr. Monk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enumerate-menus-0.0.1.tar.gz
Type: application/octet-stream
Size: 11743 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20170421/6cbb2f33/attachment.obj>

More information about the User mailing list