🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37786

trapping Newlines in Athena dialog boxes

#37786
From: Anne Brink
Date: Wed, 07 Mar 1990 15:10
21 lines
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!anneb

Show 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