Path: utzoo!attcan!uunet!dg!daver From: daver@dg.dg.com (David Rudolph) Newsgroups: comp.windows.x Subject: setting focus in text fields Message-ID: <490@dg.dg.com> Date: 5 Jun 90 15:23:42 GMT Reply-To: daver@dg.dg.com (David Rudolph) Organization: Data General, Westboro, MA. Lines: 16 I am working under Motif and X11R3. I have a "form" widget which contains a bunch of text widgets. Clicking in any text widget sets the focus to that widget. My problem is that I want the focus to be changed back to the first (top, left) text field each time the form is unmanaged and then remanaged. Right now, it remains wherever it was last time the form was displayed. I assume if I actually destroyed and then recreated the form each time it was displayed, this would work, but is there a more efficient way to do it? ---------------------------------------------------------------------------- David Rudolph | phone: (508) 870-6914 Data General Corporation | email: daver@dg.dg.com | or daver%dg.dg.com@dg-rtp.dg.com ----------------------------------------------------------------------------