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
Highlighted
Developer
Posts: 800
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

two Buttons on oppossing sides

HorizontalFieldManager hManager = new HorizontalFieldManager(NO_VERTICAL_SCROLL | NO_VERTICAL_SCROLLBAR | NO_HORIZONTAL_SCROLL  | NO_HORIZONTAL_SCROLLBAR);
        final VerticalFieldManager vf =  new VerticalFieldManager(VERTICAL_SCROLL | VERTICAL_SCROLLBAR );
 
         ButtonField editButton = new ButtonField("Edit",Manager.FIELD_LEFT)

ButtonField adButton = new ButtonField("Add",Manager.FIELD_RIGHT)

 

I have both edit and add button next to each other, i want to have them on opposing sides.

I also dont want them ever to disappear when scolling the listfield

Developer
Posts: 19,631
Registered: ‎07-14-2008
My Device: Not Specified

Re: two Buttons on oppossing sides

The following should lhelp with your second question.

 

When you have that sorted, come back to us about the first:

 

http://supportforums.blackberry.com/t5/Java-Development/MainScreen-explained/ta-p/606644