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: 62
Registered: ‎10-29-2008
My Device: 9800
My Carrier: Rogers

create link inside label field?

Hey guys, hoping someone can shed some light on this.

 

I'd like to create a link inside a labelfield, much like the twitter app. So the whole label isn't a link, only a select part of the label... I'm also making an assumption here that they're using a labelfield here haha. Any ideas?

 

Thanks!

Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: create link inside label field?

Take a look at ActiveRichTextField in the javadocs.

 

This provides the function of recognizing and highlighting active text areas (like phone numbers or URLs) and providing a context menu item like "Call 555-111-1212" or "Get Link".