Send to list field
jcuccio at pacbell.net
Sun Aug 4 21:51:00 EDT 2002
It is my mouseup handler.
put word 2 of the selectedline into x
-- reset of script that needs X
The line number that is selected is need for the script. The hilitedline
does not send this info. So when the mouseup is sent it does not have any
info in the selectedline.
I think I will try this.
on mouseup -- in the field
dothing (word 2 of the selectedline of me)
set the hilitedline of field x to 3
on dothing x
Maybe this is the best help. Helping myself. After writing this message I
think this may be a better way then what I was thinking. Any feed back also
>How do I simulate clicking a line in a list field from a script.
>I know how to hilite a line in the list field. I tried sending a mouseup but
>that does not work. I do have code in the mouseup handler of the field.
> set the hilitedline of field x to 3
> send "mouseup" to field x
>>That basic script works fine for me. The mouseUp handler of the field
>>gets executed. So there may be a bug or logic error in the mouseUp
>>handler. Have you tried doing this with something simple in the
>>mouseUp handler like "beep" or something?
More information about the Use-livecode