Hi,
I show a Dialog on click of a button in a Form like so:
Dialog dialog = (Dialog)createContainer(fetchResourceFile(), "ClockDialog");
dialog.show();
In this Dialog I have a Button and on each event I want to set the text of a Button which exists in the parent Form.
The code I tried on the dialog's button event doesn't work:
Form f = (Form)createContainer(fetchResourceFile(), "PostGame");
Button timeBtn = (Button)findByName("Button3", f);
timeBtn.setText("AAAAAA");
dialog.dispose();
How can I do this?
Thanks in advance