Mark menu item as checked

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

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Mark menu item as checked

Post by bogs »

FourthWorld wrote: Sat Oct 19, 2019 2:58 pm
richmond62 wrote: Sat Oct 19, 2019 9:44 am Had the way things were done in HyperCard card not been removed...
When was it ever present in LiveCode?
Other than for compatibility? Never, apparently, but it would have been nice if it had been eh? :D
Image
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10416
Joined: Fri Feb 19, 2010 10:17 am

Re: Mark menu item as checked

Post by richmond62 »

When was it ever present
Maybe never.

It would be interesting to know if it was ever implemented in MetaCard.
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Mark menu item as checked

Post by FourthWorld »

richmond62 wrote: Sat Oct 19, 2019 3:52 pm
When was it ever present
Maybe never.

It would be interesting to know if it was ever implemented in MetaCard.
The LiveCode engine is the MetaCard engine, updated and expanded.

I don't believe any version of this engine supported that HyperCard syntax.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Mark menu item as checked

Post by bogs »

richmond62 wrote: Sat Oct 19, 2019 3:52 pm It would be interesting to know if it was ever implemented in MetaCard.
FourthWorld wrote: Sat Oct 19, 2019 4:04 pm The LiveCode engine is the MetaCard engine, updated and expanded.
I don't believe any version of this engine supported that HyperCard syntax.
I can certainly tell you it is not in the index or reference in Mc, least not that I could find.
Image
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10416
Joined: Fri Feb 19, 2010 10:17 am

Re: Mark menu item as checked

Post by richmond62 »

This is also odd (HyperCard 2.4):
-
checkmark.png
-
With the help of:
-
ten4Fox.jpg
ten4Fox.jpg (7.45 KiB) Viewed 12023 times
bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Mark menu item as checked

Post by bogs »

That folkstream site is priceless!
Image
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10416
Joined: Fri Feb 19, 2010 10:17 am

Re: Mark menu item as checked

Post by richmond62 »

IMac_G5.png
-
My iMac G5 running Mac OS 10.4 and Mac 9.2 is priceless as I can run HyperCard on it.
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4219
Joined: Sun Jan 07, 2007 9:12 pm

Re: Mark menu item as checked

Post by bn »

@Richmond

Since 'checkmark' is a reserved name we can not use it in LC. How would you name a pseudo property of the menus instead of 'checkmark'?

I am still refining a more generalized solution to the problem and sollicit input on how to name it.

Kind regards
Bernd
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10416
Joined: Fri Feb 19, 2010 10:17 am

Re: Mark menu item as checked

Post by richmond62 »

Um . . .

used


selected
(well, maybe not, that would cause confusion)

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

Re: Mark menu item as checked

Post by jacque »

richmond62 wrote: Sat Oct 19, 2019 9:44 am Had the way things were done in HyperCard card not been removed
all this long, complicated discussion would not have been necessary.

I assume (?) that the reason the HyperCard way was removed was for
a good reason . . . .
Yes. MC was compatible with SuperCard, HyperCard, and several flavors of 'nix, all of which handled menus differently. MC needed to work with all of them so implemented its own system.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4219
Joined: Sun Jan 07, 2007 9:12 pm

Re: Mark menu item as checked

Post by bn »

richmond62 wrote: Sat Oct 19, 2019 5:32 pm Um . . .

used


selected
(well, maybe not, that would cause confusion)

starred
how about a noun? something similar to checkmark but not chequemark... nor cheekmark, nor cheesemark.

Kind regards
Bernd
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10416
Joined: Fri Feb 19, 2010 10:17 am

Re: Mark menu item as checked

Post by richmond62 »

star
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4219
Joined: Sun Jan 07, 2007 9:12 pm

Re: Mark menu item as checked

Post by bn »

richmond62 wrote: Sat Oct 19, 2019 5:54 pm star
well it is not a star. Mind you there are different ways to mark a menu item.

set the star of menuItem pItem of button xyz

sounds strange,

May be checksign?

Kind regards
Bernd
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10416
Joined: Fri Feb 19, 2010 10:17 am

Re: Mark menu item as checked

Post by richmond62 »

checksign sounds OK,

although you could use tick.
Post Reply