[comp.windows.x] setting focus in text fields

daver@dg.dg.com (David Rudolph) (06/05/90)

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

----------------------------------------------------------------------------