🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37678

Re: carriage_return binding

#37678
From: Ken Lee
Date: Mon, 05 Mar 1990 17:32
14 lines
1103 bytes
In article <9918@pyr.gatech.EDU>, belk@pyr.gatech.EDU (Eddie) writes:
> Few days ago, someone mentioned carriage_return binding to an OK button
> in the dialog box. Could this person or anybody out there drop an example
> on how a carriage_return can be binded to a button.

If you want to catch a carriage return while focus is on the button,
use a translation to the button's action.  If you want to catch the
carriage return while focus is elsewhere, use an accelerator.  Both
are documented in Chapter 10 of the MIT Xt manual.

Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee
Technical Details
Message-ID: <2962@bacchus.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!decwrl!wsl.dec.com!klee
References: <9918@pyr.gatech.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!decwrl!wsl.dec.com!klee
From: klee@wsl.dec.com (Ken Lee)
Newsgroups: comp.windows.x
Subject: Re: carriage_return binding
Message-ID: <2962@bacchus.dec.com>
Date: 5 Mar 90 17:32:54 GMT
References: <9918@pyr.gatech.EDU>
Sender: news@decwrl.dec.com
Reply-To: klee@decwrl.dec.com
Organization: DEC Western Software Laboratory
Lines: 14