Re: background images
I usually use the preOpenCard approach with background images but have occasionally wanted to have a set of images on individual cards that do not change dynamically over time. In that case I’ve used an image that was NOT part of the background group. To create a new card (with a new image), I use “clone card” rather than new card. The image is created on the new card but is an individual image. I assign it a new file name and it doesn’t affect anything else. The best approach really depends on you use case. Not sure which is more efficient. Storing images separately and loading on preOpenCard or having them preloaded on individual cards would guess the former if the stack starts with only a few images. Sent from my iPhone Please excuse brevity, typos and errors > On Jan 19, 2021, at 1:49 AM, Richmond via use-livecode > wrote: > > Just import an image for a card and set its level to 1: no 'nonsense' about > background images at all. > > Richmond. > >> On 19.01.21 2:44, Tim Selander via use-livecode 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 : 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 >>> kl...@major-k.de >>> >>> >>> ___ >>> use-livecode mailing list >>> use-livecode@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: background images
Just import an image for a card and set its level to 1: no 'nonsense' about background images at all. Richmond. On 19.01.21 2:44, Tim Selander via use-livecode 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 : 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 kl...@major-k.de ___ use-livecode mailing list use-livecode@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: background images
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 | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 18, 2021 8:02:06 PM Tim Selander via use-livecode 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 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 : 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 kl...@major-k.de ___ use-livecode mailing list use-livecode@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: background images
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 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 : 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 kl...@major-k.de ___ use-livecode mailing list use-livecode@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: background images
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 > 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 >>> : >>> >>> 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 >> kl...@major-k.de >> >> >> ___ >> use-livecode mailing list >> use-livecode@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: background images
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 : 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 kl...@major-k.de ___ use-livecode mailing list use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: background images
Hi Tim, > Am 18.01.2021 um 19:12 schrieb Tim Selander via use-livecode > : > > 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 kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode