XForms: keyboard out of focus?

Tano Fotang (M.Tano@Wirtschaft.FH-Wolfenbuettel.DE)
Mon, 15 Sep 1997 17:23:51 +0200

To subscribers of the xforms list from Tano Fotang <M.Tano@Wirtschaft.FH-Wolfenbuettel.DE> :

hello,
here is a problem i am having with an input object.
You click on a button on form F1 and this other form F2
is displayed. F2 has an Input object which accepts a string (filename).
The first time F2 is displayed there is no problem.
The 2nd time around,if F1 hasnt been destroyed and recreated, u get
a program crash immediately u hit a key inside the input object:

MainLoop Event(7,w=0x180007b s=2216) EnterNotify Mode Normal
In fonts.c[150]: FontResolution: 103
MainLoop Event(2,w=0x180007b s=2398) KeyPress
In KeyEvent [forms.c 1426] pointor/keybd focus differ

[7]- Segmentation fault (core dumped) sula -debug 10

what kind of focus is that? i even tried the followin with no
success:

fl_set_focus_object(form->getstring,form->input);
fl_show_form(form->getstring, FL_PLACE_MOUSE|FL_FREE_SIZE, FL_TRANSIENT,
title);

while((answer=fl_do_forms())!= form->ready && answer!=form->cancel);

thx. tano fotang, XF 0.87
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/