Re: XForms: resizing a form

T.C. Zhao (zhao@bloch.phys.uwm.edu)
Mon, 2 Feb 1998 21:45:06 -0600

# To subscribers of the xforms list from zhao@bloch.phys.uwm.edu (T.C. Zhao) :

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

>> In order to get this to work, I have to set every object's resize to
>>RESIZE_NONE, and both gravities to FL_North. After doing that, it works ok.
>> This isn't the problem.
>
>> The problem is that after doing the above, the form is un-resizable. The only
>> way to make it resizable again is to change all the gravity and resize
>> properties one by one back to their original values. This is the part I want
>> to avoid, for obvious reasons.

>Okay, I guess I don't understand what you want to do. I thought the
>objective was to basically hide part of the form's objects.

Actually I still do not fully understand the question. I thought
what Trent wants is the ability of resizing a form without
resizing the objects, which is achieved, as you pointed out,
by changing the object gravity. Wheather a form is resizeable or not
is completely determined at the "show" time, so I am kind of
confused about the behavior of gravity affecting the resizebility
of the form. Of course if what is wanted is changing object's
resizeabilty back'n forth, your code is the most direct way to
do it.

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