Page 1 of 1
How to copy a Card [SOLVED]
Posted: Tue Jan 06, 2015 10:35 am
by morrell
Obtained from Experienced Developers.
open the properties inspector, choose inspect-> the card you want to copy. Then the Edit Menu lets you "Copy Card". Which you can paste later on.
Using the above I'm failing to copy a Card using LC 7.0.1 (rc 4) and I have:-
Created new card (
have also tried after the below)
Open card to be copied
On main controls choose Object , choose Card Inspector
On 'Selection menu' icon - choose Inspect -then Card - then Card to copy
Open newly created card
All Paste attributes are greyed out
Where am I going wrong?
Regards,
Re: How to copy a Card
Posted: Tue Jan 06, 2015 10:47 am
by bn
Hi,
Try this: right-click on a card and choose "Card Properties Inspector". The Properties Inspector will change to the properties of that card.
Now look at the "Edit" menu. There is now "Copy Card". Do that. Go to a different or new or same stack and in "Edit" menu there is "Paste Objects" active if card is successfully copied.
Do paste the card. The card should now appear.
Just tested in LC 7.0.1 golden master (the stable version, not a RC version)
Kind regards
Bernd
Re: How to copy a Card
Posted: Tue Jan 06, 2015 2:26 pm
by morrell
Thank you bn.
Using Community 7.0.1 and still not working for me.
Right clicked on the card I want to copy
chose "Card Property Inspector"
On "Edit" menu chose "Copy Card"
Opened the empty new card I had created
On "Edit" menu chose "Paste Objects"
But no paste occurred.
Regards,
Ruth
Re: How to copy a Card
Posted: Tue Jan 06, 2015 2:41 pm
by bn
Hi Ruth,
I had to do it twice because for some strange reason but try this.
make a button on the card you want to copy, set its script to
Code: Select all
on mouseUp
copy this card
end mouseUp
now you have in "Edit" menu Paste Objects
go to the place where you want to copy your card to.
Then either use the edit menu and paste objects
Or
make a button in the new stack/or wherever
the pasted card will be the next card
Just tried on 7.0.1 and worked.
make shure when using the "Edit" menu that the target stack is the frontmost. i.e. click on the target stack and then paste. If everything works you might want to delete the buttons.
Kind regards
Bernd
Re: How to copy a Card
Posted: Tue Jan 06, 2015 3:08 pm
by Newbie4
A simpler method is to go to the card that you want to copy. Then open up the Message Box by clicking on the "Message Box" icon in the LiveCode Editbar and in it type "Clone this card" (without the quotes)
Re: How to copy a Card
Posted: Tue Jan 06, 2015 3:09 pm
by Klaus
Hi all,
why not just enter this into the message box:
clone this card
?
No greyed out menu items and other inconveniences.
You may need to adjust the new cards number (position in stack),
if neccessary at all!
Best
Klaus
Re: How to copy a Card
Posted: Tue Jan 06, 2015 3:10 pm
by Klaus
Damn, you beat me for a lousy minute, Newbie4!

Re: How to copy a Card
Posted: Tue Jan 06, 2015 3:20 pm
by Newbie4
You were probably delayed answering other posts. (either that or I have an overclocked cpu!!)

Re: How to copy a Card
Posted: Tue Jan 06, 2015 3:30 pm
by Klaus
Newbie4 wrote:You were probably delayed answering other posts. (either that or I have an overclocked cpu!!)

Yep, MUST be something like this...

Re: How to copy a Card [SOLVED]
Posted: Tue Jan 06, 2015 4:41 pm
by morrell
Thank you chaps and so easy using the Message Box.
Kind regards,
Ruth
Re: How to copy a Card [SOLVED]
Posted: Tue Jan 06, 2015 4:52 pm
by Klaus
Who is Bob?

Re: How to copy a Card [SOLVED]
Posted: Tue Jan 06, 2015 5:20 pm
by morrell
Box's brother Klaus.
Re: How to copy a Card [SOLVED]
Posted: Tue Jan 06, 2015 5:37 pm
by Klaus
morrell wrote:Box's brother Klaus.
You mean: Box's brother, Klaus?
Punctuation marks can save lives:
Let's eat grandpa!
vs.
Let's eat, grandpa!
Sorry, couldn't resist
