Welcome!

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

Reply
Highlighted
Developer
Posts: 426
Registered: ‎04-10-2011
My Device: Z30

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 Smiley Happy

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

Thanks.
-----------------------------------------------------------------------------
Check out my apps in the BlackBerry World
Visit my developer blog alopix.net
BBM Channel: C0047B612
New Developer
Posts: 11
Registered: ‎01-18-2013
My Device: Z10LE
My Carrier: VIPnet Croatia

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?