BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 07-03-2007, 10: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, 11:31 AM   #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, 02: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

NEW Phillips ICN-2S110-SC Advance Electronic Ballast 120-277V 50/60Hz
$28.95
NEW Phillips ICN-2S110-SC Advance Electronic Ballast 120-277V 50/60Hz picturePhilips Advance Centium ICN-2S54-T 120-277V Electronic Ballast
$17.95
Philips Advance Centium ICN-2S54-T 120-277V Electronic Ballast pictureATLAS MH70-0257-KT... HID BALLAST KIT.. 264=1141..NEW
$39.99
ATLAS MH70-0257-KT... HID BALLAST KIT.. 264=1141..NEW pictureKEYSTONE TECH MH-175A-P-KIT 175W Standard Metal Halide | Ballast Kit
$44.99
KEYSTONE TECH MH-175A-P-KIT 175W Standard Metal Halide | Ballast Kit pictureUNIVERSAL 1110-247-S-C-TC METAL HALIDE LAMP BALLAST.. 400WATT M-59... 277 VOLT
$69.99
UNIVERSAL 1110-247-S-C-TC METAL HALIDE LAMP BALLAST.. 400WATT M-59... 277 VOLT picture






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