BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-10-2007, 10:39 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2007
Model: 8100
PIN: N/A
Carrier: movistar
Posts: 51
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default popup to mainscreen

Please Login to Remove!

hello, i have a UiApplication class in this i have tow final class a mainscreen and popupscreen.
the mainscreen call a popup and i need post from popup text to field in mainscreen.
Offline  
Old 08-10-2007, 01:59 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Aug 2007
Model: 8100
PIN: N/A
Carrier: xxx
Posts: 117
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by lete View Post
hello, i have a UiApplication class in this i have tow final class a mainscreen and popupscreen.
the mainscreen call a popup and i need post from popup text to field in mainscreen.
class Main extends MainScreen {

private EditField eField = new EditField();

public void some() {
Popup popup = new Popup();
popup.show( eField );

}



class Popup extends PopupScreen {

public void show (Field field) {

// some actions

// when click OK :
((EditField) field).setText (text);

}

Hope this helps
Offline  




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