Switch between pages

Hello everyone,

I need to make a menu screen where there are multiple buttons along the left side of the screen (vertically) and on the middle and right portion of the screen is where all the info of the page will be. I want to be able to click the buttons and have different pages appear and disappear depending on which button I click.

I know you can make multiple screens, but I need the buttons to be shown at all times, so that means I’d have to paste copies of these buttons on each screen indiviudally.

Is there a way I can keep my initial screen with all the buttons and have pages appear and disappear instead?


Probably, you’ll have to use the lv_obj_set_hidden function where the argument object is your window.

1 Like