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

Java Development

Reply
Pif
Contributor
Pif
Posts: 31
Registered: ‎08-31-2010
My Device: Simulator
Accepted Solution

AutoTextEditField context

Hello, bb forums!

 

I'm new to bb development and to these forums.

And currently I'm facing one problem.

 

I have AutoTextEditField. And I have class, which implements FieldChangeListener.

 

I'm calling Listener's fieldChanged() method after a series of setText() methods.

 

fieldChanged(message, 123);

 

Which context should I use?

*now I use 123, and it works perfectly, but is there any appropriate one?

Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: AutoTextEditField context

I believe that you'll find this is a constant definition, like FieldChangeListener.PROGRAMMATIC if the change was made internally by the program, or '0' if made by the user.

 

Please use plain text.
Pif
Contributor
Pif
Posts: 31
Registered: ‎08-31-2010
My Device: Simulator

Re: AutoTextEditField context

thanks!

Please use plain text.