Re: Set Focus at TextInput Inside Spark List ItemRenderer

2019-05-03 Thread ImadEddine
Thank you. I understood the idea ... it works -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Set Focus at TextInput Inside Spark List ItemRenderer

2019-05-03 Thread kamcknig
Forgot a step //somehwere else in your code to trigger focus on one of the text inputs' var element = currentFacture.getElementAt(); After that you have to set the focused property on element before updating element.focused = true/false; -- Sent from: http://apache-flex-users.246.n4.nab

Re: Set Focus at TextInput Inside Spark List ItemRenderer

2019-05-03 Thread kamcknig
You'll have to do something similar to this as far as I know https://pastebin.com/9LZbiasQ -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Set Focus at TextInput Inside Spark List ItemRenderer

2019-05-03 Thread ImadEddine
Thanks for your reply yes ... When i add item to my list i needed a focus at TextInput inside itemrenderer -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Set Focus at TextInput Inside Spark List ItemRenderer

2019-05-03 Thread ImadEddine
Please I needed help I have this code -- ... -- I want to set Focus at articleQTe Like this : articleQte.setFocus() ; -- Sent from: http

Re: Set Focus at TextInput Inside Spark List ItemRenderer

2019-05-03 Thread kamcknig
If I'm understanding what you mean, you would need to control it via data. The collection you pass into the dataProvider could have a property that indicates whether the TextInput associated with that piece of data should have focus. Then in the script for the ItemRenderer you override the set data

Set Focus at TextInput Inside Spark List ItemRenderer

2019-05-03 Thread ImadEddine
Please I needed Help I Have This flex code -- .. --- I want to set focus at articleQte like this : articleQte