Re: XForms: fl_deactivate_form/fl_activate_object

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Wed, 24 Sep 1997 22:56:43 -0500

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

from Lothar Esser <esser@chop.swmed.edu> :

> I have a question about fl_deactivate_form and fl_activate_object. I
>have a form with a number of objects all of which I need to deactivate
>while a sub process is running but one. I do this by deactivating the form
>with fl_deactivate_form rather than going through the whole list of
>objects and calling fl_deactivate_object(). Then I would use
>fl_activate_object(button1) to activate the button I want to remain
>active.

If I am reading this right, what you're trying to do
probably won't work because all objects on
an inactive form are inactive regardless
what the status of the objects are.

>However it is not yet active - it takes another fl_hide_form() and
>fl_show_form() to activate it. Is there another way to achieve the same
>thing ?

Maybe you can place all objects except the one you want
into a group, then deactivate the group object.

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