BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-10-2007, 11: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, 02: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  
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





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