From: Hans Fugal Date: 2003-03-25T10:41:05+09:00 Subject: Re: [FXRuby] How to capture key events Lyle Johnson wrote: > For most widgets, you can intercept the SEL_KEYPRESS and SEL_KEYRELEASE > messages when a key goes down (or up): Thanks, that did the trick! Now, I can't figure out how to let the FXMainWindow capture the event instead of the FXText object (it's read-only text; I don't care about keystrokes in the FXText object in the least). -- Hans Fugal | De gustibus non disputandum est. http://hans.fugal.net/ | Debian, vim, mutt, ruby, text, gpg http://gdmxml.fugal.net/ | WindowMaker, gaim, UTF-8, RISC, JS Bach --------------------------------------------------------------------- GnuPG Fingerprint: 6940 87C5 6610 567F 1E95 CB5E FC98 E8CD E0AA D460