Path: 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 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 , 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? #################################||############################################