"valueCommit" should be dispatched whenever the value changes, for any
reason.
 
"change" is dispatched only if the user changes the value.
 
- Gordon

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Monday, March 12, 2007 2:34 PM
To: [email protected]
Subject: Re: [flexcoders] Adjust TextInput Fld Width on Bound Property



seems like valueCommit did the trick, thanks! 

- Kevin


On Mar 12, 2007, at 3:49 PM, Gordon Smith wrote:


        

        The "valueCommit" should do what you want.
         
        - Gordon

________________________________

        From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
        Sent: Monday, March 12, 2007 10:43 AM
        To: [email protected]
        Subject: [flexcoders] Adjust TextInput Fld Width on Bound
Property
        
        

        I have a text input field that has a 'text' property bound to a
Model 
        Locator variable. I would like the size of this field to change 
        based on the width of the bound text, however I can't find a way
to 
        trigger this. When the user changes the text manually it is not
a 
        problem to use the 'change' event or 'textInput' event, but when
the 
        text property is changed through a modification of the bound
model 
        locator value, the field doesn't trigger any event that I can
find.
        
        Any thoughts on how to handle this?
        
        - Kevin
        


        


 

Reply via email to