Article View: comp.windows.x
Article #37786trapping Newlines in Athena dialog boxes
From: Anne Brink
Date: Wed, 07 Mar 1990 15:10
Date: Wed, 07 Mar 1990 15:10
21 lines
1424 bytes
1424 bytes
Hi, Folks,
What's the conventional way for me, the application programmer, to have my
Athena dialog widget fire off a command button when the user enters
a <return>, instead of the dialog box widening to accept more data? I've
played around with key accelerators in the dialog box, but the text area
doesn't recognize my requests. I understand that the text area is a separate
widget, and so may ignore what its parent the dialog widget says, but I also
understand why it is a bad thing to go down and tweak with the "hidden" text
widget.
This is using R4 with fixes 1 and 2 under SunOS 4.0.3. The dialog box
has 2 child command buttons as well as its own label and text area.
Thanks for any help or advice.
-Anne Brink
anneb@etl.army.mil
--
#################################||############################################
Anne Brink: anneb@etl.army.mil || Open Spring Training!!
...!uunet!etl.army.mil!anneb || Baseball in '91?
#################################||############################################
Technical Details
Message-ID:
<410@ai.etl.army.mil>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!haven!cvl!ai.etl.army.mil!annebShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!haven!cvl!ai.etl.army.mil!anneb From: anneb@ai.etl.army.mil (Anne Brink) Newsgroups: comp.windows.x Subject: trapping Newlines in Athena dialog boxes Message-ID: <410@ai.etl.army.mil> Date: 7 Mar 90 15:10:43 GMT Distribution: na Organization: USAETL, Fort Belvoir, Virginia Lines: 20