How do I set up an'About' menu in stand alone?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: How do I set up an'About' menu in stand alone?
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
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
Re: How do I set up an'About' menu in stand alone?
Klaus,
What do you mean "does indeed work"? I tested it and there are some problems, which I consider a bug.
Best,
Mark
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
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: How do I set up an'About' menu in stand alone?
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
"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
Re: How do I set up an'About' menu in stand alone?
Hi Klaus,
Do those projects still work in LC 6.0.x?
Best,
Mark
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
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: How do I set up an'About' menu in stand alone?
Yes, just checked with LC 5.5.5 and 6.01.
Re: How do I set up an'About' menu in stand alone?
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
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
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: How do I set up an'About' menu in stand alone?
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
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
Re: How do I set up an'About' menu in stand alone?
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
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
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: How do I set up an'About' menu in stand alone?
Hi Mark,
did/will you bugreport this?
Thanks!
Best
Klaus
did/will you bugreport this?
Thanks!
Best
Klaus
-
- 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?
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?
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
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: How do I set up an'About' menu in stand alone?
We still speak English in Australia - even if some Americans find it difficult to understand us.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.

Re: How do I set up an'About' menu in stand alone?
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]
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]
Re: How do I set up an'About' menu in stand alone?
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
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
Re: How do I set up an'About' menu in stand alone?
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 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
Re: How do I set up an'About' menu in stand alone?
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
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