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.

--
 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

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to