Faking OS X text field behaviour (was: Good books on Cocoa dev?)

Richard Gaskin ambassador at fourthworld.com
Wed Mar 3 19:37:39 EST 2010


Ian Wood wrote:
> I just had a quick try but can't see how to apply a backgroundpattern
> to anything less than the whole field.

Mea culpa.

According to the dictionary RevTalk allows backgroundColor for chunks, 
and backgroundPattern for fields, and textPattern/foregroundPattern for 
chunks, so I was a little optimistic about the orthogonality of the 
implementation.

But in trying it here, you're right, it seems the backgroundPattern 
cannot be applied to chunks.

This inconsistency seems worth addressing, since doing so has practical 
application as you've noted, so I logged it as a request:

<http://quality.runrev.com/qacenter/show_bug.cgi?id=8645>

--
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv



More information about the use-livecode mailing list