fld HiliteColor to transparent

ddas dev at digifilm.com
Wed Oct 19 13:03:56 EDT 2011


Hi Richard,

Thanks for introducing me to traversalOn.

I am a bit baffed. I did try autohilite but even after turning it off on mousedown,  it flickered the hilite on mouseups.

I just tried:

local myline
   put word 2 of the clickLine into myline
   put myline
   if myline is "1"
   then
      set the autoHilite of fld  "fldRolf" of this card to false
      set the traversalOn of fld  "fldRolf" of this card to false

It is still flickering on mouseup.

I am using the scrolling field ios example stack.

Thanks,
Debdoot


On Oct 19, 2011, at 11:52 AM, Richard Gaskin wrote:

> Debdoot wrote:
> 
>> i am trying to set a field hilitecolor to transparent. How do I do this.
>> 
>> When I use the following script it make the hilitecolor white.
>> 
>> set the hilitecolor of  fld  "myField" of this card to none
> 
> If you don't want the user to hilite field contents, can you just turn off the field's traversalOn and autoHilite properties?
> 
> --
> 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
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the Use-livecode mailing list