High Lighting in a List Field??

Dave dave at looktowindward.com
Wed Jul 11 12:53:18 EDT 2007


Hi All,

I have a list field, with the following script:

on mouseUp
   local mySelectedLine
   local myMovieFilePathName
   local muNumberOfFrames

   put the selectedLine into mySelectedLine
   select empty
   put mySelectedLine & cr after msg
end mouseUp

In order for "selectedLine" to return the correct line number, I had  
to set the autoHilite property true. If I do this not surprisingly  
the line selected gets high lighted, however I don't want that!  
Depending on what is selected I want to either high light it or beep  
and NOT high light it.

I've been playing around for a while now and can't seem to find a way  
of doing this.

Any ideas?

All the Best
Dave





More information about the use-livecode mailing list