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
Posts: 50
Registered: ‎04-27-2012
My Device: BlackBerry Q10
My Carrier: 447713279379
Accepted Solution

ButtonField arrangement!!

[ Edited ]

Hi,

 

Please how do I arrange all these buttonfield in Flowfield?

 

aButton = new ButtonField("Button A", ButtonField.CONSUME_CLICK);
aButton.setChangeListener(this);
bButton = new ButtonField("Button B", ButtonField.CONSUME_CLICK);
cButton = new ButtonField("Button C", ButtonField.CONSUME_CLICK);
dButton = new ButtonField("Button D", ButtonField.CONSUME_CLICK);

HorizontalFieldManager buttonManager =
new HorizontalFieldManager(Field.FIELD_LEADING);
buttonManager.add(aButton);
buttonManager.add(bButton);

.................

NFC on my mind!!
Regular Contributor
Posts: 50
Registered: ‎04-27-2012
My Device: BlackBerry Q10
My Carrier: 447713279379

Re: ButtonField arrangement!!

Sorted...used FlowFieldManager
NFC on my mind!!