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

VECTRON CRYSTAL OSCILLATOR 1MHz CO215DV-5
$29.99
VECTRON CRYSTAL OSCILLATOR 1MHz CO215DV-5 picture(3) NEW PLE SQ35 THRU-HOLE CRYSTAL OSCILLATORS IN METAL PACKAGE 8 2.00MHZ
$12.99
(3) NEW PLE SQ35 THRU-HOLE CRYSTAL OSCILLATORS IN METAL PACKAGE 8 2.00MHZ picture600 PCS ECLIPTEK EC2SM200-20.000MHZ CRYSTALS
$3.99
600 PCS ECLIPTEK EC2SM200-20.000MHZ  CRYSTALS pictureCrystal Oscillator Clock 37.056MHz DIP8 HCMOS/TTL Abracon ACH-37.056-EJS 5pcs
$7.65
Crystal Oscillator Clock 37.056MHz DIP8 HCMOS/TTL Abracon ACH-37.056-EJS 5pcs pictureCrystal Oscillator Clock 37.056MHz DIP-8 HCMOS/TTL Abracon ACH-37.056-EJS 40pcs
$49.96
Crystal Oscillator Clock 37.056MHz DIP-8 HCMOS/TTL Abracon ACH-37.056-EJS 40pcs picture






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