Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 416
Registered: ‎04-10-2011
My Device: Z10 LE & PlayBook

Re: onTextChanging events on TextArea/Field

I just found the problem. When you look at my code above it's not quite clear, but in the calculate function (that is called in the onTextChanging), I use the TextArea's text property as input.
Apparently I'm not allowed to do this. Looks like it is not set or something, because if I call calculate(text), then it will work :smileyhappy:

Don't know if it's a bug, but it's definitely weird.

Check out my apps in the BlackBerry World
Visit my developer blogs /dev/alopix and /home/alopix
BBM Channel: C0047B612
New Developer
Posts: 11
Registered: ‎01-18-2013
My Device: Z10LE

Re: onTextChanging events on TextArea/Field

Did you manage to solve this? I'm just looking for a way to limit number of characters input to two, and then auto-jump to next textfield. Can You share the whole calculate function?