[codenameone-discussions] Re: Toolbar and back command issues

2016-05-25 Thread pejo0100
Ok I have fixed the override and now it's working, thanks! Here is the code if anyone else is looking for the same solution. // Added this to the statemachine class @Override protected void setBackCommand(Form f, Command backCommand) {// added this override 20160526 to fix bug in navig

[codenameone-discussions] Re: Toolbar and back command issues

2016-05-25 Thread Shai Almog
Did you override the setBackCommand method? -- 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-discussions+unsubscr...@googlegroups.com. Visi

[codenameone-discussions] Re: Toolbar and back command issues

2016-05-24 Thread pejo0100
Ok great! I'll wait for that fix then. I noticed that the android hardware back-button does'n work with the solution that I tried. On Wednesday, May 25, 2016 at 7:01:47 AM UTC+2, Shai Almog wrote: > > There is a regression there which we've fixed already. It will be in this > Friday release.

[codenameone-discussions] Re: Toolbar and back command issues

2016-05-24 Thread Shai Almog
There is a regression there which we've fixed already. It will be in this Friday release. -- 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

[codenameone-discussions] Re: Toolbar and back command issues

2016-05-24 Thread pejo0100
Never mind! I found the solution from a similar question at stackowerflow. I had to add the toolbar manually for the form2 like this: @Override protected void beforeForm2(Form f) { f.setToolbar(new Toolbar()); f.setTitle("Form2"); Style s = UIManager.getInstance().getComponentStyle

[codenameone-discussions] Re: Toolbar and back command issues

2016-05-24 Thread pejo0100
Never mind! I found the solution from a similar question at stackowerflow. I had to add the toolbar manually for the form2 like this: @Override protected void beforeForm2(Form f) { f.setToolbar(new Toolbar()); f.setTitle("Form2"); Style s = UIManager.getInstance().getComponentStyle("TitleC