Capturing Key Press

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dennis M. Marks

    #1

    Capturing Key Press

    Can a specific keypress be trapped and used to call a function? The
    keypress can take place anywhere in the window.

    For example, maybe I can have a menu window that opens whenever control
    w is pressed.

    --
    Dennis M. Marks

    Replace domain.invalid with dcsi.net


    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
  • Dennis M. Marks

    #2
    Re: Capturing Key Press - ignore

    In article <24012004080826 6399%denmarks@d omain.invalid>, Dennis M.
    Marks <denmarks@domai n.invalid> wrote:
    [color=blue]
    > Can a specific keypress be trapped and used to call a function? The
    > keypress can take place anywhere in the window.
    >
    > For example, maybe I can have a menu window that opens whenever control
    > w is pressed.[/color]

    Found answer - ignore.

    --
    Dennis M. Marks

    Replace domain.invalid with dcsi.net


    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

    Comment

    • Evertjan.

      #3
      Re: Capturing Key Press - ignore

      Dennis M. Marks wrote on 24 jan 2004 in comp.lang.javas cript:
      [color=blue][color=green]
      >> Can a specific keypress be trapped and used to call a function? The
      >> keypress can take place anywhere in the window.
      >>
      >> For example, maybe I can have a menu window that opens whenever control
      >> w is pressed.[/color]
      >
      > Found answer - ignore.[/color]

      If we are good enough for your questions, please share your solutions.

      Sometimes we learn, sometimes we help correcting a falaw.

      --
      Evertjan.
      The Netherlands.
      (Please change the x'es to dots in my emailaddress)

      Comment

      Working...