This is probably newbie question mark 1!
I have a stack with many cards. All but one of them are identical cards but with different data in some of the fields.
I want to edit the script of a button in the group, but the amended script doesn't carry over to all the other cards.
In HC this would be a background button, and the dictionary tells me to establish a group to achieve that in LiveCode. I did this, including all buttons and fields in the group. However, it's not the same. Editing on one card is only effective on that card.
What am I doing wrong?
Editing doesn't copy to all cards.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Editing doesn't copy to all cards.
Hi,
What exactly did you do to put that group on all cards? Probably, you made a mistake there.
Once you have created a group, you can choose the group from the Place submenu in the Objects menu. You can also set the backgroundBehavior of the group to true.
Kind regards,
Mark
What exactly did you do to put that group on all cards? Probably, you made a mistake there.
Once you have created a group, you can choose the group from the Place submenu in the Objects menu. You can also set the backgroundBehavior of the group to true.
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: Editing doesn't copy to all cards.
I selected all the controls and formed a group.
Not finding any "Copy Card"/"Paste Card" menuitems I wrote a button script to automate "copy this card" and then "paste" - 700+ times.
Now I need to edit the script of one of the buttons.
Not finding any "Copy Card"/"Paste Card" menuitems I wrote a button script to automate "copy this card" and then "paste" - 700+ times.
Now I need to edit the script of one of the buttons.
Re: Editing doesn't copy to all cards.
Hi,
If you create a new card, the group gets duplicated. Instead, you should create a new card and place the group. You can automate this with the place command. Read more about the place command in the dictionary.
Best,
Mark
If you create a new card, the group gets duplicated. Instead, you should create a new card and place the group. You can automate this with the place command. Read more about the place command in the dictionary.
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: Editing doesn't copy to all cards.
Thanks Mark.
I think - fingers crossed - that I've got it working as I'd like it to.
Tony McCoy O'Grady
I think - fingers crossed - that I've got it working as I'd like it to.
Tony McCoy O'Grady