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: 192
Registered: ‎01-12-2010
My Device: Bold
My Carrier: ZAIN
Accepted Solution

String to Font name

Dear guys,

one small question

 

I have a string for fontname ex. BBMiliTall i am getting this from one variable

 

now i want to set this as the font name for the application

 

any way

 

any help / links / posts / suggestion is appreciated.

 

rgds

Nadir Firfire

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

Re: String to Font name

http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/ui/FontFamily.html#forName(java.lang.String)
----------------------------------------------------------
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: 192
Registered: ‎01-12-2010
My Device: Bold
My Carrier: ZAIN

Re: String to Font name

thanks simon