controlkeydown

Rob Cozens rcozens at pon.net
Wed Feb 20 20:25:00 EST 2002


>The following works for me:
>
>on controlKeyDown K
>    if K = "T" then doMyTstuff
>    if K = "F" then doMyFstuff
>end controlKeyDown

One note, Scott:

Unless your handler passes controlKeyDown for those values of K for which
it has no instructions, it effectively disables any controlKeyDown handlers
in other objects further up the message hierarchy.

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



More information about the use-livecode mailing list