Re: XForms: Form status

Richard Kent (kent@hydra.dra.hmg.gb)
Tue, 20 May 1997 09:19:41 +0100

To subscribers of the xforms list from "Richard Kent" <kent@hydra.dra.hmg.gb> :

> I'm preparing a program in which i would need to know if a determinated
> form is already shown before i try to hide it.
> Can anybody tell me how can i do this?

Yep - it's a bit annoying that xforms complains when you try to hide a form
which is already hidden - or show a form which is already shown. The call you
want is :-

if (fl_form_is_visible (someForm->someForm))
fl_hide_form (someForm->someForm);

Or something of that ilk !!

Cheers,

TicH

------------------------------------------------------------------------
| Name - Richard Kent |
| EMail - kent@hydra.dra.hmg.gb |
------------------------------------------------------------------------

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