Re: XForms: hiding part of a form

Steve Lamont (spl@szechuan.ucsd.edu)
Wed, 13 Jan 99 13:39:17 PST

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I need to build a form such that the user can click a button to hide
> half of the form (not just the objects but actually make the form appear
> smaller) and then click again to show the full form. The only way I can
> think of to do this is with two seperate forms. Does anyone have any
> suggestions for a better way?

This is a bit tricky but doable. Use the function fl_set_form_size()
to resize the form when you click. You'll have to be careful that all
objects have the proper gravity and are not resizable or strange
things will happen.

I believe I may have posted a partial solution to this problem a year
or so ago so you might want to check the archives.

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