I tried to move the method under the window “windows1”, different errors. anyway, I understood puting that under the app, it should be global no ?
Thanks
I understand that we want to create a new “Handler” but it doesn’t accept the name “Action”, while my understading it is that what we are trying to create no ?
I never created a menu like this, so maybe you’re trying something unknow to me.
I add a menu using the Menu Editor (1) and add a Menu Handler in App (Insert → Add MenuHandler I think — sorry I can’t run Xojo right now / memory full).
Is it so ?
(1) Menu Editor is the front image of the video at the link you shared.
well in fact, I’m just trying to define the action when the sub-menu is selected, hence the fact to follow the doc for basic stuff working.
All my menus will be dynamically created ( my understanding is that you just need to create 1 manubar as ref and anchor, and buid around it )
That’s the tutorial / Explanation page I4m following. Dynamic creation is ok, it’s to link now an action with the menu .
it is , using the documentation term, " the delegation" which doesn’t work for me. IF my understanding is correct ( with my own words ), goal is to create a new “action”, by delegating from another class for this sub menu.
Maybe in that case, there is a nicer / cleaner way to do this ?