Page 1 of 1

No Menus on PC StandAlone

Posted: Wed Jan 30, 2013 2:00 am
by lohill
I just made the first standalones for my application for both Mac and Windows. I made the standalones using the latest version of LiveCode and the Mac version appears to be OK. The windows version is not showing any menu items at all. Any suggestions for what I might be missing?

Thanks,
Larry

Re: No Menus on PC StandAlone

Posted: Wed Jan 30, 2013 2:07 am
by FourthWorld
Were the menus you saw on Mac ones you'd added, or just the default ones the OS provides?

You can add menus to your app with the Menu Builder (in the Tools menu).

Re: No Menus on PC StandAlone

Posted: Wed Jan 30, 2013 5:07 am
by lohill
Fourthworld,

They are my menus and it did create them using the Menu Builder. I remember at some point having to use the up arrow on the group to lift then ( the group) up out of sight for the Mac. That must be the root of my problem somehow.

Larry

Re: No Menus on PC StandAlone

Posted: Wed Jan 30, 2013 6:45 am
by jacque
When developing on Mac, leave the menu group at the top of the window. As soon as you set that group to be the menubar of the stack, the engine will move it up out of sight for you. On Windows it won't move. If you physically move it yourself, it's going to be out of sight on all machines. So basically, put it back at the top of the window and let the engine handle it.

Re: No Menus on PC StandAlone

Posted: Thu Jan 31, 2013 3:37 am
by lohill
Thanks Jacque,

I now have made the menus visible at the top and had to make sure that all the objects (both visible and invisible) were at least below their level. I have compiled again and I now have menu items that show up in the Windows version. Unfortunately they appear about one and one half inches below the top of the window. (This is after hours of work.) It appears that I am going to have to go to the PC in order to do this final development. What a pain,

Larry

Re: No Menus on PC StandAlone

Posted: Thu Jan 31, 2013 6:42 am
by jacque
The "top" of the visible card will be below the bottom of the menu group. If the menu group is very tall then that much of the card will scroll out of view on a Mac. Make sure your menu group is no taller than necessary to contain its buttons (plus a few pixels for spacing.) I think the average menu group is about 27 pixels high, give or take. You can effectively consider the card layout to begin just under that at 28 pixels. If it's laid out correctly, the amount that scrolls off the top on a Mac will be equal to the bottom of the menu group on Windows.