[SOLVED] Converting in a background

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
MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

[SOLVED] Converting in a background

Post by MaxV »

Hi,
I have a stack with many cards. Now field 1 of card 1 has to become a background object of all cards.
My problem is: how to do?
If I change the property of a group to act as a background, it is automatically copied in new card as a backgroud.
On the contrary copying background on new cards doesn't work.
Last edited by MaxV on Fri Jan 18, 2019 3:32 pm, edited 1 time in total.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Converting in a background

Post by Klaus »

Hi Max,

simply GROUP your single field and PLACE that new group onto every card you need.
Or am I missing something?

Best

Klaus
quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: Converting in a background

Post by quailcreek »

Also be aware that the fld property "Shared Text" with control wether the text in the fld is the same in all of the groups. Also note the Klaus specifically said place the group on each cd. Place is under the Object menu > Place Group. It's also a good practice to name your groups when doing this.
Tom
MacBook Pro OS Mojave 10.14
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: Converting in a background

Post by dunbarx »

What everyone said.

But if you have many cards, you will want to write a short handler that loops through each card, placing the group as it goes.

Craig Newman.
MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

[SOLVED] Re: Converting in a background

Post by MaxV »

Wow, PLACE should be in right click menu, I didn't find it.
Thank you all
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: [SOLVED] Converting in a background

Post by dunbarx »

Max

I too wish someone would give me a list of native words that I both should know and need to know. But these generally come when I am in a situation like yours. That is the power of this forum; somebody will know.

Craig
Post Reply