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
Developer
Posts: 43
Registered: ‎01-20-2009
My Device: Not Specified
Accepted Solution

Focus on multiple Field - Like Task and Memopad

Hi all, I would like to implement that is something like memopad.

The particular thing I'm interested in is that it shows focus at two places, in this case, focus is on the TextField and the ListField.

When the user types TextField is populated irrespective of where the current highlighted position of the LisfField.

 

Any tips or direction would be appreciated.

 

Developer
Posts: 17,019
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Focus on multiple Field - Like Task and Memopad

it is not possible for two fields having the focus.
actually only one field - the one where you enter stuff - has the focus.
the other field is registered on this one using a callback and processes the input this way.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 178
Registered: ‎07-29-2008
My Device: Not Specified

Re: Focus on multiple Field - Like Task and Memopad

Your talking about using a KeywordFilterField, there is a sample included in the JDE i belive showing how it works.
Developer
Posts: 43
Registered: ‎01-20-2009
My Device: Not Specified

Re: Focus on multiple Field - Like Task and Memopad

I see. I finally found it in the 4.5 API. I did however tested it and it did behave exactly as Memopad. I thank you for that.

 

However, I'm going to have to go down path of Simon's suggestion as I am still developing for 4.3 onwards.

Highlighted
Developer
Posts: 178
Registered: ‎07-29-2008
My Device: Not Specified

Re: Focus on multiple Field - Like Task and Memopad

fair enough, good luck Smiley Happy