Matthew.Diamond@MAPS.CS.CMU.EDU (06/06/90)
SUMMARY: A problem setting the keyboard focus to a dialog box's value widget.
I have a popup shell with a dialog box as the child. When I pop it up I set
the keyboard focus of the top level to the value widget of the dialog. When
the user types it goes into the value widget, no problem.
Then I set the keyboard focus of the top-level to "None" and popdown the
shell. BUT: keystrokes still go into the value widget! I have to set
the keyboard focus explicitly to something else to solve the problem,
I can't just set it to "None".
Am I doing something wrong, or is this a bug? If initially I set the focus to
the dialog widget, not to its value widget, setting the focus to "None" works.
Vitals: X11R4, microVax II, 4-bit display.
note: This code worked under r3, we started having problems when we
switched to r4. Shame, 'cause r4 is better. Help!
Matt
matt@maps.cs.cmu.edu