BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-19-2008, 09:40 AM   #1
ahmadgee
Thumbs Must Hurt
 
Join Date: Apr 2008
Model: 7100T
PIN: N/A
Carrier: do not know
Posts: 51
Default Window Displaying Dialogue

Please Login to Remove!

I am trying to implement the following concept.

When user click on the addButton. Then there should open a window and display message

Please enter new Element

After entering the element must be added into the list.

My problem is that how can I please implement the concept of window displaying dialogue "Please ent new Element."

Thanks

Last edited by ahmadgee; 05-19-2008 at 09:42 AM..
Offline  
Old 05-19-2008, 10:02 AM   #2
simon.hain
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Default

the most simple way:
create a screen that gets a callback in its constructor (a reference on your origin screen). push the new screen and ask the user to enter something there (using an editfield, e.g.). after clicking a submit-button the calls the callback and pops itself.

a bit more advanced would be to use a popup screen, a more distinctive enter method compared to a submit-button and the use of an interface as a callback.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 05-19-2008, 10:33 AM   #3
goulamass
Talking BlackBerry Encyclopedia
 
Join Date: Jan 2008
Location: France
Model: 8310
PIN: N/A
Carrier: Vodafone
Posts: 217
Default

Yes pop-up a new screen
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Nu-Calgon 4171-75 Evap Foam No Rinse Coil Cleaner-18oz, 6 Pack picture

Nu-Calgon 4171-75 Evap Foam No Rinse Coil Cleaner-18oz, 6 Pack

$74.99



Ignition Coil For Chrysler Dodge Jeep Plymouth 56027965 4797293 5234210 53 picture

Ignition Coil For Chrysler Dodge Jeep Plymouth 56027965 4797293 5234210 53

$23.40



Ignition Coil for Briggs and Stratton 492341, 495859; 160-01011 picture

Ignition Coil for Briggs and Stratton 492341, 495859; 160-01011

$27.02



HYSTER 4097212 IGNITION COIL picture

HYSTER 4097212 IGNITION COIL

$128.78



Acme Electric 9-2756-6  Coil, 24VAC 60Hz New picture

Acme Electric 9-2756-6 Coil, 24VAC 60Hz New

$350.00



Dental Orthodontic Niti Open Coil Spring Spool .008/010/012/014 Inch 914mm picture

Dental Orthodontic Niti Open Coil Spring Spool .008/010/012/014 Inch 914mm

$74.79







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