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
Contributor
Posts: 29
Registered: ‎05-11-2011
My Device: ANY
My Carrier: ASE

Re: how to remove menu on button click

 

for( int i=0;i<nameArr.length;i++)

{

 

bf[i] =new ButtonField(nameArr[i], ButtonField.FOCUSABLE|ButtonField.CONSUME_CLICK);

 replace the above


vfm.add(bf[i]);

bf[i].setChangeListener(

this);

}