You can create the effect by using buttons and then making elements visible and invisible.
See the 2 attached images. The tabs are buttons. When click a button, change the background colours, make the current screen invisible, make the new screen visible. I also make the current page button inactive. ie when on the settings page, the settings button is inactive.
There are probably other ways to do this but I find this way easy to manage.