Sannyasin Brahmanathaswami wrote:

> Perhaps the bug is not that the mousedown and mouseup are ignored,
> but that if the user clicks on empty space in the field, the
> hilitedline remains highlighted.

In version 6.0 and 8.0rc1 this works and would seem to do what you're looking for:

-- field script:
on mouseDown
   if the clickV > (the formattedHeight of me + the top of me ) then
      set the hilitedLine of me to empty
   end if
end mouseDown

It might be nice to have a new field property for that, but easy enough to script for in the meantime.

What should the property be called?  This:

   set the clicksOutsideTextClearHilites of fld 1 to true

...would be descriptive, but horrible (though if inclined one could make a behavior script with getProp/setProp handlers using the script above and have that today <g>).

Any other suggestions?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com


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

Reply via email to