Focus in FlexRepeater

I have a FlexRepeater that repeat instances of a view containing a lable and a numeric entry field.
The lable uses a parameter index to get a number in front of every field. What I want to do is to move focus to the next numeric entry field when the user presses enter key. I have tried to make this with a onKeyDown event on the numeric field and a message handler on the FlexReapeater but I haven’t had much luck and need some input.

(post deleted by author)

I got it to work! No input needed. :grinning_face:

Post the answer in case someone else has the same question.

3 Likes

I created an event on the numeric field that passes a message with the index I already had to a message handler in hte same tree that listens and focuses on the right instance and finally an other message handler in the flex repeater that calculates next index and sends it back to the message handler in the tree of the view thats getting instanced.

Maybe it it more complicated then it should be but it works.

2 Likes