simulating a mouseclick on a certain line in a list field
hello, dear revolution gurus. i have a list field that has a mouseUp script attached to it, which does something based on the value of the clicked-on line. But how do I simulate clicking on a particular line in a field, ie, how do I send the listfield, in essence, a virtual click on a particular line, so that the mouseUp script, which needs the clickLine to function, works properly? I hope this is clear. Thanks. rand valentine ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: simulating a mouseclick on a certain line in a list field
Hi Rand, hello, dear revolution gurus. i have a list field that has a mouseUp script attached to it, which does something based on the value of the clicked-on line. But how do I simulate clicking on a particular line in a field, ie, how do I send the listfield, in essence, a virtual click on a particular line, so that the mouseUp script, which needs the clickLine to function, works properly? I hope this is clear. Thanks. ... set the hilitedlines of fld your field here to your_line_number_here send mouseup to fld your field here ... Just tested and it looks like this does trigger a mouseup but the clickline is not respected...? Hope that helps though... Try using the hilitedlines or the selectedtext or whatsoever, as long as it works with send mouseup... ;-) rand valentine Enjoy your christmas holidays :-) Regards Klaus Major [EMAIL PROTECTED] www.major-k.de ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: simulating a mouseclick on a certain line in a list field
On 12/15/03 2:27 PM, rand valentine [EMAIL PROTECTED] wrote: hello, dear revolution gurus. i have a list field that has a mouseUp script attached to it, which does something based on the value of the clicked-on line. But how do I simulate clicking on a particular line in a field, ie, how do I send the listfield, in essence, a virtual click on a particular line, so that the mouseUp script, which needs the clickLine to function, works properly? I hope this is clear. Thanks. Example: set the hilitedLines of fld myListField to 6 send mouseUp to fld myListField -- Acts like a click on line 6 of the field HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution