Re: Performance issues with setting the image source

2012-07-30 Thread Peter Haworth
I think I'm locking screen but will check. Pete lcSQL Software On Mon, Jul 30, 2012 at 11:41 AM, Bob Sneidar wrote: > Hmmm... locking screen and locking messages? > > Bob > > > On Jul 30, 2012, at 11:38 AM, Peter Haworth wrote: > > > I have a scrolling list field which I

Re: Performance issues with setting the image source

2012-07-30 Thread Peter Haworth
Hi Mark, I use a repeat loop to put the text of each line into the field. Once it's there, I set the image source of of the appropiate chars of the line. I have to have a repeat loop but if I'm understanding you correctly, you're recommending: - put the text of each line into a variable within t

Re: Performance issues with setting the image source

2012-07-30 Thread Peter Haworth
Thanks Colin. I don't think this applies to my situation since I'm setting the image source to existing images, not creating them on the fly. But it's yet another property I didn't know about so thanks for that. Pete lcSQL Software On Mon, Jul 30, 2012 at 12:38 PM, Colin

Re: Performance issues with setting the image source

2012-07-30 Thread Mark Schonewille
Hi Pete, Are you using a repeat loop? Don't do that. Instead, take the htmlText, replace a character with the appropriate html (have a look at the htmlText after setting an imageSource to find out the correct HTML code) and set the htmlText of the field to the modified data. -- Best regards,

Re: Performance issues with setting the image source

2012-07-30 Thread Colin Holgate
Not sure if this will apply to what you're doing, but when doing painting with image data things are a lot faster with this line: set the paintCompression to "RLE" ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to su

Re: Performance issues with setting the image source

2012-07-30 Thread Bob Sneidar
Hmmm... locking screen and locking messages? Bob On Jul 30, 2012, at 11:38 AM, Peter Haworth wrote: > I have a scrolling list field which I'm populating with lines of text and > also setting the imagesource of up 5 chars. It turns out that it takes an > average of about one tenth of a second