No Menus on PC StandAlone

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

No Menus on PC StandAlone

Post by lohill » Wed Jan 30, 2013 2:00 am

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: No Menus on PC StandAlone

Post by FourthWorld » Wed Jan 30, 2013 2:07 am

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).
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: No Menus on PC StandAlone

Post by lohill » Wed Jan 30, 2013 5:07 am

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

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: No Menus on PC StandAlone

Post by jacque » Wed Jan 30, 2013 6:45 am

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: No Menus on PC StandAlone

Post by lohill » Thu Jan 31, 2013 3:37 am

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

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: No Menus on PC StandAlone

Post by jacque » Thu Jan 31, 2013 6:42 am

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply