Thank you shai i passed the form argument and the finder is working. Please one more thing, how can i apply code to another component in another form while im in the actionEvent of my current Form.
--To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/fedbc430-c6d3-46f3-bf5d-f3b2d2e45def%40googlegroups.com.
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 codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
The typical way is to use the before show method of the target form. If you have a form called TargetForm, the designer will generate the following method in StateMachine when you enable Before Show event@Overrideprotected void beforeTargetForm(Form f) {//put your logic here}Now, in the current form, just call on your actionEventshowForm("TargetForm", null);and the code will be executed before the target form is shown.Regards.
Thanks alot