RE: XForms: V0.87.2 available for testing

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Wed, 17 Sep 1997 23:51:35 -0500

To subscribers of the xforms list from "Dr. T.C. Zhao" <zhao@bragg.phys.uwm.edu> :

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 ?
(if you're setting the folder while it is not visible, you
can try that senerio with slight modificaiton of folder.c:

void hide_show_cb(FL_OBJECT *ob, long data)
{
FD_mainform *fdui = ob->form->fdui;

(data ? fl_show_object:fl_hide_object)(fdui->folder);
if(!fdui->folder->visible)
fl_set_folder_bynumber(fdui->folder, 3);
}

I am interested in knowing how this goes on your platform.

_________________________________________________
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/