Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: dshr@eng.sun.COM (David Rosenthal) Newsgroups: comp.windows.x Subject: Re: Problems with Athena Dialog Widget in R4 Message-ID: <9101112149.AA00439@devnull.Eng.Sun.COM> Date: 11 Jan 91 21:41:44 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 19 > > > > Is there a way to make the keyboard focus move to the next Dialog > > widget when a key is typed (like a return or arrow key)? Possibly by moving > > the mouse to the XtN{x,y} location of the next Dialog widget? > > > > How do other people design entry forms and deal with this problem? > > > > What I did was to register a translation for the associated text > widgets and use "XWarpPointer()" to move the pointer upon the user > hitting RETURN. > Section 6.2 of the ICCCM says "In general, clients should not warp the pointer". More specifically, Section 4.2.7 says "Clients should not warp the pointer in an attempt to transfer the focus; they should set the focus and leave the pointer alone". The section then goes on to explain how to set the focus. Section 4.1.7 gives more details. David.