Can't get "Duplicate Card" to work? - Solved

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

Post Reply
DR White
Posts: 686
Joined: Fri Aug 23, 2013 12:29 pm
Location: Virginia, USA

Can't get "Duplicate Card" to work? - Solved

Post by DR White » Tue Mar 16, 2021 12:22 pm

I select the card.
I click "Duplicate Card", but nothing happens.

How is it suppose to work?
Last edited by DR White on Tue Mar 16, 2021 1:18 pm, edited 1 time in total.

Klaus
Posts: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Can't get "Duplicate Card" to work?

Post by Klaus » Tue Mar 16, 2021 12:34 pm

Must be a bug, confirmed on macOS 10.14.6 and LC 9.6.2 RC3.
As a workaround use the message box -> clone this cd

DR White
Posts: 686
Joined: Fri Aug 23, 2013 12:29 pm
Location: Virginia, USA

Re: Can't get "Duplicate Card" to work?

Post by DR White » Tue Mar 16, 2021 12:46 pm

I am using macOS Big Sur 11.2.1 and LC 9.6.2 RC2.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9385
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Can't get "Duplicate Card" to work?

Post by richmond62 » Tue Mar 16, 2021 12:57 pm

Escapes me completely as I cannot find "Duplicate Card" anywhere at all.

MacOS 11.3 beta 3, LC 9.6.2 RC 3

DR White
Posts: 686
Joined: Fri Aug 23, 2013 12:29 pm
Location: Virginia, USA

Re: Can't get "Duplicate Card" to work?

Post by DR White » Tue Mar 16, 2021 1:07 pm

Under "Edit"
7th item down

DR White
Posts: 686
Joined: Fri Aug 23, 2013 12:29 pm
Location: Virginia, USA

Re: Can't get "Duplicate Card" to work?

Post by DR White » Tue Mar 16, 2021 1:08 pm

1st click on a card or goto project browser and select the card

DR White
Posts: 686
Joined: Fri Aug 23, 2013 12:29 pm
Location: Virginia, USA

Re: Can't get "Duplicate Card" to work?

Post by DR White » Tue Mar 16, 2021 1:10 pm

My mistake.

It just says "Duplicate".

Don't believe it was intended to duplicate a card.

Sorry,

David

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

Re: Can't get "Duplicate Card" to work?

Post by bogs » Tue Mar 16, 2021 1:12 pm

Erm, duplicate is for objects, not cards. Objects, i.e. buttons, fields, etc.

You can, as Klaus mentioned, clone a card, but I can't think of any way you'd duplicate or copy one.
Image

DR White
Posts: 686
Joined: Fri Aug 23, 2013 12:29 pm
Location: Virginia, USA

Re: Can't get "Duplicate Card" to work?

Post by DR White » Tue Mar 16, 2021 1:18 pm

I believe that "clone card" will work just fine!

Thanks,

David

Klaus
Posts: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Can't get "Duplicate Card" to work? - Solved

Post by Klaus » Tue Mar 16, 2021 1:21 pm

After doubleclicking a card with the POINTER tool the menuentry changes to "Duplicate card", see screenshot.
Attachments
duplicate_card.jpg

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9385
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Can't get "Duplicate Card" to work? - Solved

Post by richmond62 » Tue Mar 16, 2021 1:30 pm

Indeed: clone works perfectly when making duplicates of cards: use it all the time.

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

Re: Can't get "Duplicate Card" to work? - Solved

Post by bogs » Tue Mar 16, 2021 1:31 pm

Well, I just learned something new hahaha. That does work in older versions, but I have never had any reason to suspect it was there! Goofy, but it does work out that way in say, 6.x, and not in 9.x.

In 6.x, it doesn't appear to matter if you have "select grouped controls' checked or not, very funny, you also get an option to 'copy card' :D
Image

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7235
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Can't get "Duplicate Card" to work? - Solved

Post by jacque » Tue Mar 16, 2021 5:59 pm

You can do "copy card" from the message box too, but I always wondered why they took away the menu item.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”