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

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

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

Post by Klaus » Sat Jun 01, 2013 12:37 pm

Hi Santa,

this DOES indeed work, so there must be something else going on.
You can send me your little example stack and I will take a look if you like!
Send it to: klaus AT major-k.de


Best

Klaus

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 » Sat Jun 01, 2013 12:55 pm

Klaus,

What do you mean "does indeed work"? I tested it and there are some problems, which I consider a bug.

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

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

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

Post by Klaus » Sat Jun 01, 2013 1:12 pm

Hi Mark,

"does indeed work" means, it*** does indeed work here in a couple of my older and current projects :-)
*** Localized (french, german, english and spanish) "About" and "Help" menus on OS X


Best

Klaus

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 » Sat Jun 01, 2013 2:08 pm

Hi Klaus,

Do those projects still work in LC 6.0.x?

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

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

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

Post by Klaus » Sat Jun 01, 2013 2:13 pm

Yes, just checked with LC 5.5.5 and 6.01.

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 » Sat Jun 01, 2013 2:25 pm

Klaus,

Did you also try to make a completely new stack and change the Help and About menu items? On Mac OS X? Which version of OSX?

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

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

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

Post by Klaus » Sat Jun 01, 2013 2:40 pm

I did not create a new stack. The menus are setup by script in my projects.
I'm using OS X 10.8.3

EDIT:
i created a new stack and yes, the "Help" menu works when localized,
but the "About" menu does not work/respond UNLESS you name it "About":
Button "Help" in menubar works:
Hilfe/H|help
-
About/|about

Not works:
Hilfe/H|help
-
Über/|about

Too funky it works in older stacks with menus?
Yes, seems to be a bug.

Best

Klaus

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 » Sat Jun 01, 2013 3:19 pm

Hi Klaus,

Thanks, it seems we're on the same page. This bug is a big pity. I can imagine how it makes 5.5 and later useless for many projects.

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

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

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

Post by Klaus » Sat Jun 01, 2013 3:57 pm

Hi Mark,

did/will you bugreport this?
Thanks!


Best

Klaus

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

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

Post by FourthWorld » Sat Jun 01, 2013 4:30 pm

Klaus, if you have a sample stack please file that report.

But for Santa's issue, since he's in Australia I wonder if the problem is that he's using non-English names for those menus, or something else.

Santa, can you post your menuPick handler?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

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 » Sun Jun 02, 2013 12:37 am

But for Santa's issue, since he's in Australia I wonder if the problem is that he's using non-English names for those menus, or something else.
We still speak English in Australia - even if some Americans find it difficult to understand us. ;-)

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 » Mon Jun 03, 2013 11:30 am

G'day all

Here's my menu pick handler

[code]
on menuPick pItemName
switch pItemName
case "Quotes Guide"
send "ShowStack" to stack "Guide"
break
case "About Quotes…"
send "ShowStack" to stack "About Quotes"
break
end switch
end menuPick
[/code]

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 » Mon Jun 03, 2013 11:52 am

G'day Klaus.

I've just sent you a zipped copy of my main project. I altered the code to plain 'About' and it still does not work.

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 » Mon Jun 03, 2013 1:19 pm

G'day again

Klaus reported to me that my stacks worked on his Mac, but I did as he suggested and altered my code, to use an 'Answer' statement, to no avail. It still doesn't work.

I then altered my menu 'Help' button to this...

Quotes Guide
About Quotes
-
About

and my menu pick handler to this...

on menuPick pItemName
switch pItemName
case "Quotes Guide"
send "ShowStack" to stack "Guide"
break
case "About Quotes"
send "ShowStack" to stack "About Quotes"
break
case "About"
send "ShowStack" to stack "About Quotes"
break
end switch
end menuPick

and the second case works fine from the 'Help' menu, with the 'ShowStack' handler in the stack displaying the stack. Just the third case still does not work. I'm still wondering if the set up I've got is the main problem. I've reported an X-Code finder bug to Apple, and this might be related, along with the fact that there's possibly a bug in Livecode itself.

Regards

Santa

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

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

Post by Klaus » Mon Jun 03, 2013 1:25 pm

In the stack you sent me we had this simple HELP menu:
Guides Help
-
About

I added an ANSWER to the menupick handler:
on menuPick pItemName
ANSWER pItemName
switch pItemName
case "Quotes Guide"
...
And saw EACH menuitem in the Dialog, so the error must be in the "ShowStack" handler in the substacks
or somewhere else on Santas machine.


Best

Klaus

Post Reply