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
Contributor
Posts: 25
Registered: ‎10-18-2010
My Device: Bold 9700
My Carrier: T-Mobile
Accepted Solution

about confirming an action

I need a bit help.
After the choice is made, how can I tell which choice is made..
I mean, if yes is chosen, do this.. if no - do that

String choices1[] = {"Yes", "No"};
Dialog.ask("Are u sure you want to submit?", choices1, 0);

Developer
Posts: 367
Registered: ‎11-25-2009
My Device: Not Specified

Re: about confirming an action

Contributor
Posts: 25
Registered: ‎10-18-2010
My Device: Bold 9700
My Carrier: T-Mobile

Re: about confirming an action

thanks mate, it helped