codenameone - back button restriction on the app -


i looking restrict button i.e not anything. found need override in statemachine class.

protected boolean allowbackto(string formname) {    return false;} 

on our development deleted class , don't have class.

so there way restrict button in total application.

thanks in advance

you can't delete statemachine class in guibuilder app. if deleted , no longer using guibuilder code no longer relevant anyway , totally unnecessary added manually.


Comments

Popular posts from this blog

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -

php - Prepared Statement Inner Join Cannot Pass Parameter by Reference -

c# - Value cannot be null or empty.\r\nParameter name: name -