You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com
Hey guys,
Can you please tell me how I can make it for a table cell to take me to the next form when I select it?
at the moment I'm using the createCell method to generate the cells with a Button component and adding an actionListener to it, but how can I invoke the ShowForm() method from there?
.
Thanks.
Shai Almog
unread,
Aug 5, 2013, 2:03:09 PM8/5/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com
Hi, you are 99% there. You need to pass an instance of your state machine to the table subclass you created (to override the cell) then you can invoke a method on the state machine that will show the form you want.
Mario Barón
unread,
Aug 5, 2013, 3:30:09 PM8/5/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com
Hey Shai,
thanks a lot for your quick response. That did the trick.