controlkeydown

Pierre Delain pdel at noos.fr
Thu Feb 21 07:16:01 EST 2002


Finally I found two efficient structures :

on controlKeyDown LaClef
if LaClef = "T" then
  MuThemes
else if LaClef = "F" then
  beep
else if LaClef = "Y" then
  beep
  beep
else
  pass controlkeydown
end if
end controlKeyDown

and :

on controlKeyDown LaClef
  switch LaClef
  case T
    MuThemes
    break
  case F
    beep
    break
  case Y
    beep
    beep
    break
  default
    pass controlKeyDown
  end switch
end controlKeyDown


Thank you everybody

Pierre




More information about the use-livecode mailing list