Re: XForms: resizing a form

Ivan Powis (pczip@chemistry.nottingham.ac.uk)
Tue, 03 Feb 1998 9:43:24 GMT

# To subscribers of the xforms list from Ivan Powis <pczip@chemistry.nottingham.ac.uk> :

>
> # To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :
>
> > I still want the user the be able to resize the form normally.
> > Thinking up a name for every single object in the form so I can call
> > fl_set_object_resize on all of them isn't a very pleasant
> > proposition.
>
> Then do it in fdesign.
>

I think he may mean he wants normal behaviour (ie full resizing) as
the default behaviour for user interaction, but on occasions wants to
achieve the special effect described. So doing it in fdesign isn't
giving the required flexibility.

I haven't tried this but it looks like the FL_FORM structure holds
pointers to the beginning and end of a linked list of all FL_OBJECTS
on the form. Couldn't you step through the objects doing a
fl_set_object_resize() on them, do your programmatic trickery, and
finally step through again resetting them to resize normal. No need to
know fdesign names etc.

--
-------------------------------------------------------------------------+
    ___  ___/   _  __ /  Ivan Powis                TEL: +44-115-951-3467 |
        /         /   /  Department of Chemistry   FAX: +44-115-951-3562 |
       /         /  _/   University of Nottingham                        |
      /         ___/     Nottingham NG7 2RD                              |
     /         /         UK                                              |
    /         /                      pczip@chem.nott.ac.uk               | 
_______/  ____/                      http://www.chem.nott.ac.uk/IP.html  |
-------------------------------------------------------------------------+

_________________________________________________ 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://bloch.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/