Quote:
Originally Posted by lete 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