How do I set up an'About' menu in stand alone?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

OzSanta
Posts: 34
Joined: Tue Apr 16, 2013 5:48 pm

How do I set up an'About' menu in stand alone?

Post by OzSanta »

G'day

I'd like to set up the 'About' menu in my stand alone app., but can't find anywhere in the blurbs that explains how to do it.

Any guidance please, or links?

Regards

Santa
icouto
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 92
Joined: Wed May 29, 2013 1:54 am

Re: How do I set up an'About' menu in stand alone?

Post by icouto »

There is a chapter in the User Guide which deals extensively with creating menus, and 'special menu items' like 'Help' and 'About'.

You can find the User Guide in the 'Help' menu of LiveCode itself. Once you open the User Guide, look for the section titled "Programming Menus & Menu Bars". In that section, look for "Special Menu Items" under the section that talks about MacOS X menus.

I hope this helps!
OzSanta
Posts: 34
Joined: Tue Apr 16, 2013 5:48 pm

Re: How do I set up an'About' menu in stand alone?

Post by OzSanta »

G'day, & thanks Icouto. I've followed the instructions to the letter, and while I can get a 'help' to work, I cannot get the last item of the Help menu button to replace the 'About...' menu.
I've got the menu item after a single dash, as directed, and it's the third item, and last, and it's disappearing from the Menu, but not working. Any one got any suggestions please?

Regards

Santa
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: How do I set up an'About' menu in stand alone?

Post by Klaus »

Hi Santa,

that is correct behavior, the last item -> "About" of the "Help" menu will appear as the first item in the "Application" menu! :-)


Best

Klaus
OzSanta
Posts: 34
Joined: Tue Apr 16, 2013 5:48 pm

Re: How do I set up an'About' menu in stand alone?

Post by OzSanta »

G'day Klaus. Unfortunately I used the word 'cannot' in my query, as in I cannot get it to work as it should. It simply refuses to replace the 'About...' in my project. I've tried 'About' with and without the ellipsis on the end, as well as other terminology.

Regards

Santa
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: How do I set up an'About' menu in stand alone?

Post by Klaus »

Could you please post the content of your "Help" menu button?
Should be something like:
Help
-
About

Just made a test and works fine here.
OzSanta
Posts: 34
Joined: Tue Apr 16, 2013 5:48 pm

Re: How do I set up an'About' menu in stand alone?

Post by OzSanta »

Quotes Help
-
About


Regards

Santa
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: How do I set up an'About' menu in stand alone?

Post by Klaus »

Hi Santa,

hmm, looks correct, sorry no brilliant idea in the moment...


Best

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

Re: How do I set up an'About' menu in stand alone?

Post by jacque »

I think the engine is interpreting a plain "About" as an empty entry. Try adding the name of your app:

About MyApp...

That should kick it into action.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
OzSanta
Posts: 34
Joined: Tue Apr 16, 2013 5:48 pm

Re: How do I set up an'About' menu in stand alone?

Post by OzSanta »

Thanks Jacque, but that didn't work either, unfortunately.

Regards

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

Re: How do I set up an'About' menu in stand alone?

Post by FourthWorld »

What does the menuPick handler in your Help menu look like?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: How do I set up an'About' menu in stand alone?

Post by Mark »

Hi Santa,

I did a little test in 6.0 on OSX Snow Leopard and noticed that things go awry as soon as I change the name of the Help or About menu items. What happens if you delete the menubar (make sure to save any important scripts first) and create a new menubar with the default Help and About menu items? Do those work normally? This seems to be a bug. I haven't tried this on a later version of OSX yet.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
OzSanta
Posts: 34
Joined: Tue Apr 16, 2013 5:48 pm

Re: How do I set up an'About' menu in stand alone?

Post by OzSanta »

G'day Mark. I did as you suggested, and it's really stuffed things up. Now I can't even get the Help menu to show, and the automatic re-sizing of the project window to hide the menu button is also failing.

Regards

Santa
OzSanta
Posts: 34
Joined: Tue Apr 16, 2013 5:48 pm

Re: How do I set up an'About' menu in stand alone?

Post by OzSanta »

OK, I made the simplest of stacks, went through the whole process, and while my help menu works as it did in my main project, the 'About...' menu refuses to change.

In my main project, I resorted to starting the menu in a substack, with 'send openstack' to it from the first opening stack. The help menu works, but again, the 'About...' menu doesn't.

Is this a bug? If so, how long till it's fixed? Can I send my project to anyone to check it? (it's about 3.5 MB).

I've struck several finder problems with my set-up in X-Code, so it might be related.

Running... Latest i7 3.4 GHz, 32 GB ram, NVIDIA GeForce GTX 680MX 2048 MB, 10.8.3

Regards

Santa
Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: How do I set up an'About' menu in stand alone?

Post by Mark »

Hi Santa,

No one knows how long it takes for a bug to be fixed.

If you contact me here, I'll send you an e-mail.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Post Reply