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
Trusted Contributor
milanvishal
Posts: 201
Registered: ‎12-17-2010
My Device: Not Specified

Rotate Labelfield

Hello friends,

 

I want to rotate my Labelfield.

So I tried a lot but I did not get success.

Can any one please help or give any suggestion which will helpful to me.

 

Thanks,

Milan

Please use plain text.
Developer
peter_strange
Posts: 19,595
Registered: ‎07-14-2008
My Device: Not Specified

Re: Rotate Labelfield

I am not aware of any Blackberry Field that be created to go anythign by hirizontal. 

 

If you write your own text, I think you can rotate the text, but I have never done it. 

 

Can you describe what you are trying to achieve?  Can  you use a bitmap image?

Please use plain text.
Trusted Contributor
milanvishal
Posts: 201
Registered: ‎12-17-2010
My Device: Not Specified

Re: Rotate Labelfield

Hi,

Thanks for reply.

In the attached file you can find some text .

I have to (draw)set label like that.

So I did not have any idea that I could I set label in that angel.

So if you have any idea please suggest it.

 

Thanks,

Milan

 

Please use plain text.
Developer
peter_strange
Posts: 19,595
Registered: ‎07-14-2008
My Device: Not Specified

Re: Rotate Labelfield

Do a search for 'rotate text.  There are few Threads that might help you. 

Please use plain text.
Trusted Contributor
milanvishal
Posts: 201
Registered: ‎12-17-2010
My Device: Not Specified

Re: Rotate Labelfield

Hi,
Thanks for Reply.
I search for the same as you asked to search.
But I did not get any proper idea from those posts,so it will be great if you help me or can give me some proper idea to do the same.

Thanks,
Milan
Please use plain text.
Developer
peter_strange
Posts: 19,595
Registered: ‎07-14-2008
My Device: Not Specified

Re: Rotate Labelfield

There seems to be some sample code in this one.  Does it not work for you?

 

http://supportforums.blackberry.com/t5/Java-Development/Rotate-Font/m-p/22529#M897

Please use plain text.
Trusted Contributor
milanvishal
Posts: 201
Registered: ‎12-17-2010
My Device: Not Specified

Re: Rotate Labelfield

Hi,

Thanks for your quick reply.

I will try code from that thread and then I will let you know.

But Thanks for help.

Heartily Thanks to you.

 

Regards,

Milan

Please use plain text.
Trusted Contributor
milanvishal
Posts: 201
Registered: ‎12-17-2010
My Device: Not Specified

Re: Rotate Labelfield

Hi,

Thanks for this thread.

I go through it.

But I want to do it with some field and rotate that field..

So is it possible to rotate any field ?

 

Thanks,

Milan

Please use plain text.
Developer
myraddin
Posts: 405
Registered: ‎09-12-2008
My Device: 9000 9810

Re: Rotate Labelfield

If link from Peter is not enough... I really don't think you explained the problem in detail.

There is a way to rotate an image. See javax.microedition.m2g.SVGAnimator for more details.


"Listen carefully, I shall say this only once"
Please use plain text.
Trusted Contributor
milanvishal
Posts: 201
Registered: ‎12-17-2010
My Device: Not Specified

Re: Rotate Labeled

Thanks for reply.

I just want to rotate labelfield.

That labelfield I have to add in the vertical or horizontal field manager.

So,it will be great if you suggest some code..

 

Thanks,

Please use plain text.