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

Msa Altair 5x Multicast Detector Manual
$10.0
Msa Altair 5x Multicast Detector Manual pictureMsa Altair 5x Co/h2s Sensor
$150.0
Msa Altair 5x Co/h2s Sensor pictureMsa Altair 5 Battery
$145.0
Msa Altair 5 Battery pictureALTAIR 4 – FOUR GAS MULTIGAS DETECTOR – MSA
$355.0
ALTAIR 4 – FOUR GAS MULTIGAS DETECTOR – MSA pictureMSA Altair 4X Multigas Detector
$219.99
MSA Altair 4X Multigas Detector  picture






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