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
Regular Contributor
BB_Developement
Posts: 76
Registered: ‎03-22-2013
My Device: 9900,9930,9790,9780,9330
My Carrier: Blackberry

How to add fields in reverse order

Hello All,

 

In my App, i have added multiple fields in one horizontalfieldmanager align as left to right. Now i have to add support for Arebic language in which fields align as right to left . So please anyone tell me that how to add support  for both alignment wihtout writting code twise depending upon condition.  

 

Thanks in Advance

 

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

Re: How to add fields in reverse order

Adding Fields in reverse order is easy, use insert instead of add.  Doing this automatically is problematic, I am guessing you will have to find the default Locale and see if you think the order should be changed based on that.

 

But I am not sure that this this answers your question, if not, please clarify. 

Please use plain text.
Regular Contributor
BB_Developement
Posts: 76
Registered: ‎03-22-2013
My Device: 9900,9930,9790,9780,9330
My Carrier: Blackberry

Re: How to add fields in reverse order

Thanks Peter,

 

I nave not used insert method in my code .

Thanks for new idea. I will  try this and let u know.

Please use plain text.