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

Posts: 33
Registered: ‎07-16-2008
My Device: Not Specified

context pop-up labelfield onfocus

[ Edited ]

i installed firmware 4.5 on my blackberry, and there is a very nice feature; when I go to an email and navigate with the cursor over the "From:" - Field. it shows me the email-address in a little context-popup; this happens, when in the "From:" - Field is a real-name and a email-address; I would like to implement this function for some fields in my application.



please give sample code



can I use this also in a listfield? it would be practical, when the text is too long for the screen - the user sees 3 dots at the end of a listfield-item and when he focuses  this item, and after one second focusing, the complete-text would be shown in a popup.



What is the minimum required device-software-version for this?




Message Edited by anildeveloper on 09-10-2008 01:44 PM
Posts: 17,019
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: context pop-up labelfield onfocus

no sample code for you as it is a quite complex solution. a few keywords: get the position and use Graphics to paint on the underlying mainscreen.
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