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

Richard Gaskin ambassador at fourthworld.com
Wed Mar 3 17:03:23 EST 2010


Scott McDonald wrote:

> But you are right, the Rev field is not native enough for your users. For
> example, the way of marking unknown words when doing the contextual check
> was something I thought about a lot during the design.
>
>
> anything but dashed red underlining is going to leap out
>
> While Windows users expect a red wriggly line. I couldn't figure out an
> efficient way to get those types of visual effects, so in the end just
> decided to work within the bounds of what the standard field object can do.

Have you tried a transparent GIF or PNG with the dash near the bottom, 
applied as the backgroundPattern of the portion of text being indicated?

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