background images

J. Landman Gay jacque at hyperactivesw.com
Mon Jan 18 23:45:25 EST 2021


That's what I do too. Each card has a custom property containing the name 
of the image that loads in preopencard.

You may be remembering shared fields which can contain different text per 
card even if they're part of a group.

--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On January 18, 2021 8:02:06 PM Tim Selander via use-livecode 
<use-livecode at lists.runrev.com> wrote:

> Thanks, Peter.
>
> I added a little opencard script to load the image for each card,
> which is fine and solves the immediate problem.
> But I was quite certain that in the past, I had a stack, with an
> image control in a background that would keep a unique image for
> each card without scripting. I must be dreaming/getting forgetful
> in my old age!
>
> Tim Selander
>
> On 2021.01.19 10:20, Peter Bogdanoff via use-livecode wrote:
>> That’s where a image that is not part of the group is useful; it’s only on 
>> that card. Otherwise you would have to set the background image dynamically 
>> on preOpenCard based on stored data about that image/card combination.
>>
>> Peter Bogdanoff
>>
>>> On Jan 18, 2021, at 4:44 PM, Tim Selander via use-livecode 
>>> <use-livecode at lists.runrev.com> wrote:
>>>
>>> Right, which is why this is so confusing. I do not want a 'shared text' image.
>>> Each card should keep it's own unique image, but when I change the image on 
>>> one card, all the cards end up with the same image. That is what I want to fix.
>>>
>>> Tim Selander
>>>
>>> On 2021.01.19 3:21, Klaus major-k via use-livecode wrote:
>>>> Hi Tim,
>>>>
>>>>> Am 18.01.2021 um 19:12 schrieb Tim Selander via use-livecode 
>>>>> <use-livecode at lists.runrev.com>:
>>>>>
>>>>> This is driving me nuts.
>>>>>
>>>>> Have a 'background' group with an image. If I change the filename of an 
>>>>> image on one card, ALL the cards change to that image. Yet a field in the 
>>>>> same group properly will take unique values for each card.
>>>>>
>>>>> I know I've done this before... what setting am I missing??
>>>>> Dropbox link to test stack: 
>>>>> https://www.dropbox.com/s/0r0ku3fw2i2pen7/test.livecode?dl=0
>>>>
>>>> fields can have a "sharedtext" property, so they can hold different text on 
>>>> each card if part of a group.
>>>> Images can NOT!
>>>>
>>>>> Any help appreciated!
>>>>>
>>>>> Tim Selander
>>>>> Tokyo, Japan
>>>>
>>>> Best
>>>>
>>>> Klaus
>>>>
>>>> --
>>>> Klaus Major
>>>> https://www.major-k.de
>>>> klaus at major-k.de
>>>>
>>>>
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list