Help needed with HyperCard
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 9358
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Help needed with HyperCard
Trust me to hit a point where HyperCard differs from LiveCode and
Danny Goodman's books is silent.
I have a stack with 2 fields: "fABC" and "f123" on a card called "KARD".
The card contains this script:
- -
and I get this response when I press a key:
- -
which has thrown me "right off."
Danny Goodman's books is silent.
I have a stack with 2 fields: "fABC" and "f123" on a card called "KARD".
The card contains this script:
- -
and I get this response when I press a key:
- -
which has thrown me "right off."
-
- Livecode Opensource Backer
- Posts: 9358
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Help needed with HyperCard
And bkgnd seems an odd abbreviation for background . . .
Probably time I stumped off to feed my alcoholic habit.
Word of the week: Curmudgeonly.
Probably time I stumped off to feed my alcoholic habit.
Word of the week: Curmudgeonly.
-
- Livecode Opensource Backer
- Posts: 9358
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Help needed with HyperCard
NOT exactly intuitive, but got "there" in the end:
-
-
-
- VIP Livecode Opensource Backer
- Posts: 9647
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Help needed with HyperCard
Richmond.
You did everything but say what is was the threw the error. Perhaps it lies in the fact that in HC there are two kinds of fields, "card" and "Background"?
Craig
You did everything but say what is was the threw the error. Perhaps it lies in the fact that in HC there are two kinds of fields, "card" and "Background"?
Craig
-
- Livecode Opensource Backer
- Posts: 9358
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Help needed with HyperCard
What threw the error was that, initially, my fields were just on the card, and the cardScript, for some reason, did not
want to put data into them and demanded backGround fields.
As the last time I did anything vaguely serious with HyperCard was in 1998 I had forgotten about HOW to make backGround
fields, so spent some time fooling around working out how to do that.
-
want to put data into them and demanded backGround fields.
As the last time I did anything vaguely serious with HyperCard was in 1998 I had forgotten about HOW to make backGround
fields, so spent some time fooling around working out how to do that.
-
-
- Livecode Opensource Backer
- Posts: 9358
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Help needed with HyperCard
Even if nothing else my "side trip" with HyperCard has shown me how much easier the LC GUI is and how
far it has advanced.
far it has advanced.
-
- VIP Livecode Opensource Backer
- Posts: 7228
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Help needed with HyperCard
It wasn't really demanding a background field, but it was expecting one. If not specified, HC fields are assumed to be background fields. Buttons are assumed to be card buttons. Since the handler didn't specify the error reported no bg field.
You could fix that by specifying the layer:
Put KD after cd field...
You could fix that by specifying the layer:
Put KD after cd field...
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 9647
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Help needed with HyperCard
Richmond.
Background fields and card fields depend on whether the background is selected when a new field created. It is sort of a separate environment, selected via "cmd-B". Once in background mode, any new field will be a background field. In "normal" mode, any new field will be a card field.
It took me a while to get used to the fact that in LC, there was no background object, and only one kind of field. And that groups were required to emulate the background "behavior" in LC.
But now the old HC way seems outdated, I love that there is only one kind of field, and I have gotten used to groups with their backGroundBehavior set.
Craig
Background fields and card fields depend on whether the background is selected when a new field created. It is sort of a separate environment, selected via "cmd-B". Once in background mode, any new field will be a background field. In "normal" mode, any new field will be a card field.
It took me a while to get used to the fact that in LC, there was no background object, and only one kind of field. And that groups were required to emulate the background "behavior" in LC.
But now the old HC way seems outdated, I love that there is only one kind of field, and I have gotten used to groups with their backGroundBehavior set.
Craig
-
- VIP Livecode Opensource Backer
- Posts: 7228
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Help needed with HyperCard
I also like that you can have more than one bg group on a card.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 9647
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Help needed with HyperCard
Jacque.
Yes. The "compartmentalization" of the background paradigm with groups allowed that. I used to hate the change. But like most changes, it is not a big deal any longer.
Craig
Yes. The "compartmentalization" of the background paradigm with groups allowed that. I used to hate the change. But like most changes, it is not a big deal any longer.
Craig