RE: XForms: V0.87.2 available for testing

Thomas Pundt (pundtt@math.uni-muenster.de)
Mon, 22 Sep 1997 10:33:46 +0200 (MET DST)

To subscribers of the xforms list from Thomas Pundt <pundtt@math.uni-muenster.de> :

This message is in MIME format
--_=XFMail.1.2.p0.Linux:970922103346:2437=_
Content-Type: text/plain; charset=iso-8859-1

Hi,

On 18-Sep-97 "Dr. T.C. Zhao" wrote:
| from Thomas Pundt <pundtt@math.uni-muenster.de> :
|
| >fl_set_folder_bynumber(folder, nr) only works after having done
| > while(!fl_get_active_folder_number(folder))
| > fl_check_forms();
|
| I have not been able to reproduce this. This piece code
| effectively does an XFlush, so I suspect that maybe there is
| some blocking going on after fl_set_folder_bynumber().
| Can you re-produce this with DEMOS/folder.c with Set button ?
[...]
| I am interested in knowing how this goes on your platform.

I can reproduce it; I've attached a diff to DEMOS/folder.c, that
_does_ preset the folder, if the while-loop is present, and doesn't
do so, if not.

Thomas Pundt ------------------------ http://wwwmath.uni-muenster.de/~pundtt/
Westfaelische Wilhelms-Universitaet | pundtt@math.uni-muenster.de
Einsteinstr. 62, D-48149 Muenster | Edith-Stein-Str. 9, D-48149 Muenster
(+49) 251 - 83 33747 | privat: (+49) 251 - 273305

--_=XFMail.1.2.p0.Linux:970922103346:2437=_
Content-Disposition: attachment; filename="diff"
Content-Transfer-Encoding: quoted-printable
Content-Description: diff
Content-Type: text/plain; charset=us-ascii; name=diff; SizeOnDisk=403

--- folder.c.orig Mon Sep 22 10:23:19 1997
+++ folder.c Mon Sep 22 10:22:33 1997
@@ -61,6 +61,10 @@
/* show the first form */
fl_show_form(fd_mainform->mainform,FL_PLACE_CENTER,FL_FULLBORDER,"butto=
nform");
=20
+ while(!fl_get_active_folder_number(fd_mainform->folder))
+ fl_check_forms();
+ fl_set_folder_bynumber(fd_mainform->folder, 3);
+
while (fl_do_forms())
;
return 0;

--_=XFMail.1.2.p0.Linux:970922103346:2437=_--
End of MIME message
_________________________________________________
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/