philipp@gris.informatik.uni-tuebingen.de (Philipp) (03/21/91)
Hello out there, I am really having problems using a XmText widget of Motif 1.0 ( Version from HP, comes with HPUX 7.03), if it is used inside a dialog shell it doesn't get the <Key>Return and so the activateCallback is not called. Let me be more specific: If i use a XmText widget in single-line-editing mode in a normal (no popup) widget everything works fine and the activateCallback is called (see (1) below). If the text widget is in a popup tree created by XmCreateFormDialog (it can be the only widget) the the Return key is not recieved. The widget hierarchy is created by the Wcl library version 1.05 (but this also happens with 1.04). Here is the the recource file i used for testing: #Mri.wcChildren: litab (1) Mri.wcChildren: butt (2) Mri.wcPopups: liEditor (2) Mri*wcTrace: True *butt.wcClassName: XmPushButton *liEditor.wcConstructor: XmCreateFormDialog *liEditor.wcChildren: litab *liEditor.wcCallback: WcManageCB(*liEditor) *litab.wcClassName: XmText *litab.value: My Text *litab.activateCallback: WcSystemCB(echo activated !!!!) For testing either uncomment the lines marked (1) or (2). (2) will give the described behavior. If anyone has the slightest idea what is wrong, please send email. -Philipp Philipp Slusallek Universitaet Tuebingen, WSI/GRIS Auf der Morgenstelle 10-C9, D-7400 Tuebingen, FRG Email: philipp@gris.informatik.uni-tuebingen.de Phone: +49-7071-295462 -- Philipp Slusallek Universitaet Tuebingen, WSI/GRIS Auf der Morgenstelle 10-C9, D-7400 Tuebingen, FRG Email: philipp@gris.informatik.uni-tuebingen.de Phone: +49-7071-295462