Value of the SelectedLine

Klaus Major klaus at major-k.de
Fri Apr 18 13:49:48 EDT 2008


Hi Gregory

> Thank you for your responses Eric, Richard, and Scott.
>
> Looks like Eric identified the culprit and hilitedLine works fine in  
> place of selectedLine.  If I could impose just a little more while I  
> have your attention, how would I simulate a mouse click to a  
> particular line in a list field?  The command
>
> 	send mouseUp to line 1 of fld "My List Field"
>
> works only for line 1 and no other.

I use this all the time:
...
set the hilitedlines of fld "My List Field" to 666
## or another less frightening number :-)
send mouseUp to fld "My List Field"
...

> Regards,
>
>
> Gregory Lypny
>
> Associate Professor of Finance
> John Molson School of Business
> Concordia University
> Montreal, Canada

Best

Klaus Major
klaus at major-k.de
http://www.major-k.de





More information about the use-livecode mailing list