Sending ArrowKey("down")

Ken Ray kray at sonsothunder.com
Sat Aug 26 21:28:36 EDT 2006


On 8/26/06 5:14 AM, "Sivakatirswami" <katir at hindu.org> wrote:


 
> But the tabkey msg is sent, because  I do get  an error message say
> "error in function: arrowkey("down")
> 
> The docs say:
> 
> "  Note:  Sending an arrowKey message does nothing unless there is an
> arrowKey handler in the message path. This is a difference from
> HyperTalk's handling of the arrowKey message."
> 
> So, it appears like it should work, but there's no example in the docs
> on just exactly how to send an arrowKey message, which one assumes must
> require a parameter to indicate which of the  four arrow keys one is
> emulating.

Try:

  send "arrowKey" && quote & "down" & quote to fld "fileList"

But personally if there is a better way, like to activate the same handler
that is activated when "arrowkey down" is triggered, that would be best,
IMHO...

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list