BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-03-2007, 11:29 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Location: Bulgaria
Model: none
PIN: N/A
Carrier: Mtel
Posts: 150
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default I need dialog that has only cancel choice ?

Please Login to Remove!

I want to get a dialog that has only cancel choice, not an OK/CANCEL Dialog, just CANCEL Dialog ...Have any ideas?
Offline  
Old 07-03-2007, 12:31 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2006
Model: 8300
Carrier: Cingular
Posts: 35
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You could create a Dialog with type Dialog.D_OK. It has only one option.

Otherwise, you can create a Dialog with just cancel as follows:

Code:
String choices[] = new String[]{"Cancel"};
int values[] = new int[]{Dialog.CANCEL};

int response = Dialog.ask("Some message", choices, values, Dialog.CANCEL);
Offline  
Old 07-04-2007, 03:07 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Location: Bulgaria
Model: none
PIN: N/A
Carrier: Mtel
Posts: 150
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you, man!!! It looks good ! I should think harder .
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.