XForms: fl_activate_all_forms doesn4t work

Frank Stefani (EAD-Frank.Stefani@t-online.de)
Wed, 30 Jul 1997 15:40:08 +0200

To subscribers of the xforms list from EAD-Frank.Stefani@t-online.de (Frank Stefani) :

Don't know if I missed something. After reading the mail of
Michael Vogt "XForms: recursive call to fl_do_forms() ?", I
tried it out. This was the source of Michaels callback:

--- snip ---
some_callback_function_of_form_1(...)
{
...

fl_show_form(dialogue);
/* deactivate all other forms */
fl_deactivate_form(other_form_1);
fl_deactivate_form(other_form_2);
...

fl_do_forms();

fl_hide_form(dialogue);
/* activate all other forms */
fl_activate_form(other_form_1);
fl_activate_form(other_form_2);
...
}
--- snip ---

It should deactivate all forms except the dialogue form.
On my Linux 2.0.28/ELF system everything works up to and
including the "fl_hide_form()" call. But after hiding the
dialogue form the other forms neither get re-activated with

fl_activate_form(other_form_1);
fl_activate_form( ... );

nor with

fl_activate_all_forms();

My idea was to deactivate all forms with one call, than
issue a fl_do_forms for the dialogue and after this is done,
activate all forms again.

This happens with 0.86.1. Any help/hint greatly appreciated,

Frank.

-- 
---------------------------------------------------------------
     _/_/_/_/     _/_/     _/_/_/    EAD-Systeme GmbH
    _/          _/  _/    _/    _/   Nachfeldstr. 4
   _/_/_/     _/    _/   _/     _/   D-82490 Farchant, Germany
  _/        _/_/_/_/_/  _/     _/    Phone: +49 8821 9623-0
 _/_/_/_/ _/        _/ _/_/_/_/      Fax: +49 8821 9623-20
---------------------------------------------------------------
Email: EAD-Frank.Stefani@t-online.de
---------------------------------------------------------------

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