Loading ...
Sorry, an error occurred while loading the content.

Multi key on KeyListener

Expand Messages
  • Michael M Pimentel
    Hello, i need to set the key 13 to handleOK, this i know how to do, but i need to set other key 27 to call the handleCancel. The key 13 have a button, but the
    Message 1 of 1 , Jun 30, 2006
    • 0 Attachment
      Hello,
      i need to set the key 13 to handleOK, this i know how to do,
      but i need to set other key 27 to call the handleCancel.
      The key 13 have a button, but the key 27 dont, i want only to close de SimpleDialog.
       
      How do i set the  "new YAHOO.util.KeyListener(document, { keys : 27  ??? } "
       
      Thanks...
       
      * Ohhh sorry my bad english *
       

      --
      Michael M. Pimentel
      Tritech Consultoria e Desenvolvimento de soluções em TI
      Microsoft Gold Certified Partner
      www.tritech.com.br
    Your message has been successfully submitted and would be delivered to recipients shortly.