🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #24140

Why is DialogShell robbing XmText of <Key>Return

#24140
From: Emuleomo
Date: Thu, 27 Jun 1991 03:33
26 lines
1426 bytes
Hi Xgurus,

I have a multi-form application  in Motif (X11R3, Motif 1.0) in which I 
create XmText widgets as children of a FormDialog and  some other XmText
widgets as children of a regular XmForm.
In my resource file I have  

*XmText*translations: #override \n\
                      <Key>Return: traverse-next()

The *STRANGE* thing is that the translation works just fine for ALL the
XmText widgets that are children of the regular XmForm, but have 
**NO EFFECT** in the XmFormDialog.  What is going on here? 
Is this a Motif bug?  When I change the XmFormDialog to a regular XmForm
the translation works fine!!!!
It seems as if DialogShell is robbing me of my <Key>Return.

Pls does anybody know of any workarounds???

Pls E-mail.

ThanX

--Emuleomo O.O. (emuleomo@yes.rutgers.edu)
-- 
Remember! It doesn't matter if you win or lose, as long as you win!
Technical Details
Message-ID: <Jun.26.23.33.14.1991.5249@paul.rutgers.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!aramis.rutgers.edu!paul.rutgers.edu!emuleomo

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!aramis.rutgers.edu!paul.rutgers.edu!emuleomo
From: emuleomo@paul.rutgers.edu (Emuleomo)
Newsgroups: comp.windows.x,comp.windows.x.motif
Subject: Why is DialogShell robbing XmText of <Key>Return
Keywords: DialogShell XmText <Key>Return
Message-ID: <Jun.26.23.33.14.1991.5249@paul.rutgers.edu>
Date: 27 Jun 91 03:33:14 GMT
Followup-To: comp.windows.x
Distribution: usa
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 26