In my app a mainForm calls another form.
I succeeded in creating a working back button on the new form.
After some changes now I have a strange effect.
I have code like this

Toolbar toolbar=new Toolbar();
// It's the same with Toolbar toolbar=getToolbar(); and with global toolbar 
true
currentForm.setToolbar(toolbar);
toolbar.setEnabled(true);
toolbar.showToolbar();

the last instruction showToolBar() produces a strange effect: 
let's say the new form is created and I can see its layout coming with a 
speedy animation from right to left, 
but then another speedy animation from right to left swipes the form off 
the screen.
On the toolbar the back command is visible but it is not responsive (also 
the menu button is present but not responsive).

What happened? I made some changes to the app, indeed I added the side menu 
to the mainForm and the secondary form, but it is the same also without it 
now.
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/95b3fbec-1190-4ef7-80ec-c59a0ce9e252n%40googlegroups.com.

Reply via email to