BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 05-19-2008, 09:40 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Apr 2008
Model: 7100T
PIN: N/A
Carrier: do not know
Posts: 51
Post Thanks: 0
Thanked 0 Times in 0 Posts
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 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
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 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Jan 2008
Location: France
Model: 8310
PIN: N/A
Carrier: Vodafone
Posts: 217
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes pop-up a new screen
Offline  




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