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
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/0b0284ce-c210-4d4c-8849-7fffb2602e69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.