Show diferent "pages" with buttons

Recommended Posts

Hest 0

Hest 0

I'm playing around with little program I want to make, but before I start, I need to test some things.

I have a little gui ready (See attachment) that has 3 labels that work like buttons.

In the white area, I would like to open different "pages" depending on what label I click. Like, if I press label1, I see alot of buttons that I can do stuff with, pressing label2 hides the buttons and shows something else.

What function should I look at to do that?

I thought about just hiding some buttons while showing others, but I don't think thats the correct way to do this.