Wonderful, thank you, that works.

The approaches I tried were taken from earlier advice on this group. Can
you tell me why they only worked intermittently? What is different about
the second viewing of the form?

Can I also just thank you and your team for this elegant technology!

Thanks!




On Sat, Jun 18, 2016 at 11:34 PM, Shai Almog <[email protected]> wrote:

> To remove the back command from all forms override:
>
>     protected void setBackCommand(Form f, Command backCommand) {
>     }
>
>
> This will effectively disable it completely.
>
> To remove it from a specific form destination override:
>
>     protected boolean allowBackTo(String formName) {
>          return !("form-i-dont-want-to-go-back-to".equals(formName) ||
> "other-form-i-dont-want-to-go-back-to".equals(formName));
>     }
>
> There is a lot about this in stack overflow too:
> http://stackoverflow.com/search?q=[codenameone]+back+command
>

-- 
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/CAHH7%3DdTbL2K_HSRXEjTZ3F56QGHfqOAAcn8%3D1rVcExqXHKyyeg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to