simulating clicking a line in a scrolling list field

Sarah sarahr at genesearch.com.au
Thu Oct 3 21:39:01 CDT 2002


How about:

set the hilitedLine of fld "list" to 5
send mouseUp to fld "list"

If you don't want the line visibly selected then:

lock screen
set the hilitedLine of fld "list" to 5
send mouseUp to fld "list"
set the hilitedLine of fld "list" to empty

Sarah


On Friday, October 4, 2002, at 09:26  am, Alan Gayne wrote:

> Greetings to all,
>
> Has anybody got s simple bit of code to simulate the user clicking on 
> a particular line in a scrolling list field?
>
> Something like "click at the location of line 5 of fld "list" (which 
> unfortunately 'does not compute').
>
> It's probably something simple but darned if I can figure it out.
>
> TIA
> Alan Gayne
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>





More information about the use-livecode mailing list