simulating clicking a line in a scrolling list field

Alan Gayne alanIra9 at mac.com
Fri Oct 4 20:47:01 EDT 2002


Sarah,

Many thanks for the (good) code.  It was indeed simple - just not 
intuitive (the "send mouseUp" part, I mean.)

Thanks again to you, Ken and Dan for help

Regards,
Alan

On Thursday, October 3, 2002, at 10:32  PM, Sarah wrote:

> 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
>>
>
>
> _______________________________________________
> 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