setting bordercolor of images in group

Klaus on-rev klaus at major.on-rev.com
Tue Apr 19 10:45:15 EDT 2011


Hi Richard

> Klaus wrote:
>>> Bug #3158:
>>> borderColor property has no affect for images, yet setting the borderColor of a card containing an image results in colored image border
>>> <http://quality.runrev.com/show_bug.cgi?id=3158>
>> Yep, found it and added a comment.
>> That limitation does not make any sense :-)
> I believe Raney once told me that some object properties were compactly expressed in the internal object record as specific bits within a byte or word, which was great for saving space but made it difficult to later add new properties without changing the file format.
> Also, some types of objects use specific bits for one purpose while another object type will use those same bits for a different property.
> Given the scope of properties for images, I'd guess that what happened here is that Raney needed the border bit for some other image property and he probably thought, "Why would anyone need to set the border of an image anyway?"
> This is just a hunch, but if it's true and the current file format doesn' allow internal properties to be added more easily,
> don't be surprised if this seemingly-simple fix has to wait until the next file format change.

which is right around the corner and coming with LiveCode 5.x ;-)

> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com





More information about the use-livecode mailing list