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


Voltage Electricity Tester Volt Detector Test Pen AC Non-Contact Sensor 90-1000V picture

Voltage Electricity Tester Volt Detector Test Pen AC Non-Contact Sensor 90-1000V

$15.94



AC Circuit Breaker Finder, Electric Tester and Voltage Tester picture

AC Circuit Breaker Finder, Electric Tester and Voltage Tester

$44.58



LED AC Electric Voltage Power Detector Sensor Tester Non-Contact Pen 12-1000V picture

LED AC Electric Voltage Power Detector Sensor Tester Non-Contact Pen 12-1000V

$12.49



100A AC Meter Ammeter Volt Energy Voltage Power LCD Display Monitor Panel picture

100A AC Meter Ammeter Volt Energy Voltage Power LCD Display Monitor Panel

$17.09



Power Queen 500A Battery Monitor with Shunt High Low Voltage Programmable Alarm picture

Power Queen 500A Battery Monitor with Shunt High Low Voltage Programmable Alarm

$57.99



12V Digital LED Display Voltmeter Voltage Gauge Panel Meter for Car Motorcycle picture

12V Digital LED Display Voltmeter Voltage Gauge Panel Meter for Car Motorcycle

$6.49







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