Thank you Eric and Klaus,

My mistake was that I did not use "of the target" in the field script for every reference to selectedLine or hilitedLine within the handler that is invoked on mouseUps to the field's lines. It turns out that if you do not include "of the target," even though the field itself is the target, then either of your scripts below, run in the message box, will hilite the specified line (e.g., x or 666) but the field script will act upon line 1. Go figure. I can't believe the time I spent on this!

Thanks once again for your help,

        Gregory

Eric responded:

set the hilitedLine of fld "My List Field" to x
send "mouseUp" to fld "My List Field"

Klaus responded:

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"
...
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to