When I copy a card from stack A to stack B the fontText, fontSize and fontStyle attributes don't come with it. I can only get them right by selecting the contents of the field and changing the font, size and style from the menubar.
I can get the "Copy Card" function when in stack A but not "Paste Card" when in stack B. I've got a stack with lots of cards and I want to copy a single card from stack A to stack B.
As I recall, SuperCard had a nifty set-up to do this and I'm sure I have done it before in Revolution, but I can't remember how.
Fonts in a different stack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 73
- Joined: Sat Apr 08, 2006 6:51 pm
Fonts in a different stack
In nova fert animus mutatas dicere formas corpora.
Hi Preston,
I don't think you have set a font and text style etc. for the card. Maybe you have set a textfont for the stack, but you are copying a card rather than a stack.
If you have set the font and style of a field or the text of a field, these properties should be copied together with the card. I haven't observed any problems here.
You can't copy a card using the menus. In my opinion, this is a big deficit. If you want to copy a card, you can do this from the message box:
copy cd 1 of stack "Stack Name 1" to stack "Stack Name 2"
Best,
Mark
I don't think you have set a font and text style etc. for the card. Maybe you have set a textfont for the stack, but you are copying a card rather than a stack.
If you have set the font and style of a field or the text of a field, these properties should be copied together with the card. I haven't observed any problems here.
You can't copy a card using the menus. In my opinion, this is a big deficit. If you want to copy a card, you can do this from the message box:
copy cd 1 of stack "Stack Name 1" to stack "Stack Name 2"
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
-
- Posts: 73
- Joined: Sat Apr 08, 2006 6:51 pm
Thanks, Mark. I didn't realize that font attributes wouldn't inherit through the card to the stack. That must be my problem. I still miss that nifty little utility in SuperCard that made dealing with bunches of cards in different stacks so nice. Perhaps in Rev 3.0?
In nova fert animus mutatas dicere formas corpora.
Hi Preston,
Cards DO inherit font attributes from a stack, but if you copy the card and paste it in an otherwise empty stack, you're essentially taking away the original stack from the card. So, there is nothing to inherit attributes from anymore.
You're talking about a "nifty utility" rather than a standard SuperCard feature, it seems. Why don't you simply re-create that utility for Revolution?
Mark
Cards DO inherit font attributes from a stack, but if you copy the card and paste it in an otherwise empty stack, you're essentially taking away the original stack from the card. So, there is nothing to inherit attributes from anymore.
You're talking about a "nifty utility" rather than a standard SuperCard feature, it seems. Why don't you simply re-create that utility for Revolution?
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