Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
patilajayr
Posts: 385
Registered: 07-28-2010
My Carrier: hi

problem in horizontal Field Manager

Hello friends,

                   i am one application in which i want 3button top of the screen. in that i want 1st button in (0,0)position, last 2buttons end of the row. means my page will distpaly bellow.

-----------------------------------------------------------------

1stbutton                                 2ndbutton 3rd button

-----------------------------------------------------------------

 

 

 

 

 

 

 

------------------------------------------------------------------

 

for about i am using one horizental fiend. in which i add 3button and one vertical field which i add that horizontal field to verticalfield. but my problem is horizental field. i cant use setmargin function because when device screen size change it will not work well. and my 3rd button is disable in some case. means i will change the position according to 3rd button. any one help me to use customhorizenal field... i dident get how should i write customlayout for that.. any one didthat than please help me.

thanks and regards,

   ajay patil.

Please use plain text.
Developer
simon_hain
Posts: 10,780
Registered: 07-29-2008
My Carrier: O2 Germany

Re: problem in horizontal Field Manager

did you try the things we suggested here?
http://supportforums.blackberry.com/t5/Java-Development/horizontal-field-with-4-elements/m-p/1540689
----------------------------------------------------------
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.

peter_strange wrote:
"This process should happen traumatically for you in both JDE and Eclipse."
Please use plain text.
Developer
patilajayr
Posts: 385
Registered: 07-28-2010
My Carrier: hi

problem in horizontal Field Manager

Hello,

         i didnt get the ans... please if anyone know that than asn me....

Please use plain text.
Developer
simon_hain
Posts: 10,780
Registered: 07-29-2008
My Carrier: O2 Germany

Re: problem in horizontal Field Manager

you can learn how to write a custom layout here:
http://supportforums.blackberry.com/t5/Java-Development/Create-a-custom-layout-manager-for-a-screen/...

of course you have to calculate the space needed yourself, as i told you in the other post about this topic.

feel free to post your layout code if it is not working.
----------------------------------------------------------
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.

peter_strange wrote:
"This process should happen traumatically for you in both JDE and Eclipse."
Please use plain text.