why are we calling validate now? and if you dont want scroll in the canvas just 
turn them off and the panel should handle them

----- Original Message ----
From: callistachan <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, February 18, 2008 11:03:20 PM
Subject: [flexcoders] on validateNow() and previous values

hi, since the last post i made on my previous thread was not answered,
i'll post the last issue i got :)

given roughly (in my mxml file):

<hdividedbox dividerRelease= "some_function( )">
<panel id="panel1" width="65%" height="100% ">
<canvas id="canvas1" >
<panel id="child_1" />
...
<panel id="child_n" />
</canvas>
</panel>

<panel id="panel2" width="15%" height="100% ">
</panel>
</hdividedbox>

when i drag hdividedbox, i enter some_function( ) and i am supposed to
make sure that panel1 resizes after that drag... BUT when i call
validateNow( ) for canvas1 (because the scrollbars appear here and not
in the panel), the dimensions i get are the previous dimensions
instead of the current. then if i drag again, i still get the
previous. am i missing something?

any help would be seriously appreciated. .. been dealing with this
problem for over a week now :(





      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Reply via email to