I have discovered what I think could be a bug with the menu creation system.
If you create a menu 1 level deep it works perfectly:
File
-->Menu #1A
-->Menu #1B
Help
-->About
However if you then create a submenu (or 2nd level menu) then when the FireFly application is executed the menu does not show on the dialog at all:
File
-->Menu #1A
-->Menu #1B
----->Menu #2A
----->Menu #2B
Help
-->About
In this example the "File" menu refuses to appear at all, until all elements of the 2nd level menu (2A/2B) have been removed using the menu editor.
I assume the menu editor is supposed to work in the same way that the VB menu editor works (it looks pretty much identical).
Andrew
Hi Andrew,
Right you are. Something is happening in the code generation that should not be. I will fix ASAP.
This problem only seems to occur when the 2nd level menu is the last item in the menu list.
For example, this should compile:
File
-->Menu #1A
-->Menu #1B
----->Menu #2A
----->Menu #2B
-->Exit
Help
-->About
Nonetheless, I need to fix this behaviour.
Thought I would give this a run through and came up with this:
File
--> Open
--> New
--> --> NewA
--> --> NewB
Edit
Search
Gave me only Edit & Search menus ... no File menu.
But this:
File
--> Open
--> New
--> --> NewA
--> --> NewB
Correctly gave me a file menu with two options and the New option had a submenu with NewA & NewB options on it.
David
That's exactly the behaviour I spotted David. Took me a little while to figure out what was going wrong :)
Andrew