Page 1 of 1

advice on menubar for multi-window projects

Posted: Mon Nov 30, 2020 4:32 am
by rodneyt
Hi all,

If I have a project that has more than one stack window and I am building a system menubar, do I need to create one in each stack or can I create it in a separate (menubar only?) stack and have that menu apply all the time? Otherwise I presume as I change stack windows the menubars will change.

Some differences here between Windows and OSX. On OSX menubar will be system menubar, on other platforms menus will appear in the stack itself.

Is there a lesson, tutorial or other advice on this topic from people who have grappled with it before?

~ Rodney

Re: advice on menubar for multi-window projects

Posted: Mon Nov 30, 2020 5:46 am
by dunbarx
Hi.

I never do this, but a menubar in LC is a merely a group of buttons with certain properties. Read about them starting on page 178 in the user guide.

In order to have a custom menuBar "stick" when changing cards, you need to place that group on each card. For stacks, again, you will have to duplicate it for each one.

I think I have this right.

Craig

Re: advice on menubar for multi-window projects

Posted: Mon Nov 30, 2020 7:13 am
by FourthWorld
Can you tell us a bit about what the windows do?

And is your main development done on Mac or Windows?

Re: advice on menubar for multi-window projects

Posted: Mon Nov 30, 2020 8:36 am
by rodneyt
Hi Richard,
Yeah I think I will just put a menubar in both windows. Development is on Mac (levure-based app). For the first release it will be Mac-only as I am using Applescripts for the CRM integration and because this is really just an experimental project for me, so I don't want to get to far ahead of myself.

~ Rodney

Re: advice on menubar for multi-window projects

Posted: Mon Nov 30, 2020 8:55 am
by FourthWorld
I think that's a good way to go. You'll need that for Windows anyway, since there the menu bar is attached to the top of the window.

Small world: I'm working on some CRM integrations myself lately. Might be fun to arrange a chat so I can learn what you've been doing since we last talked, and maybe share some tools if we find useful overlap.

Re: advice on menubar for multi-window projects

Posted: Mon Nov 30, 2020 9:45 pm
by rodneyt
Sounds like fun, send me an email and we can make a time - rodney -at- oceanbrowser.com.