Jump to content

Make pages?

Recommended Posts

I am wondring i I can create pages in UGFX and I can go to each page using pushButton? Like some examples for UGFX in Youtube. 

Edited by Mutasim

Share this post

Link to post
Share on other sites

You can either use the tabset widget or plain containers. The tabset widget has several examples that you can refer to. When using plain containers, the way to do it is by having multiple containers of the same dimensions at the same location with a non-transparent background. You then use your buttons or whatever element to toggle the visibility of the containers so that only one container is visible at a time. The containers are simply used to ripple through the visibility state to the children.

You can have a look at the code generated by the µGFX-Studio as it does exactly that.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now