Jump to content

Another Window question


toothyXdip
 Share

Recommended Posts

can you have a main window and you press like a next button and it doesnt open another window(or mabey it does idk) and it just changes whats on that page. So it might open new window and close other or it just changes whats on it.

kinda like the internet browser when you press the back/forward buttons

How?

Edited by toothyXdip
---╔╦═╗╔╗'''╔╗╔═╦═╗╔╦═╗---╝╠═╣╝║'''║╝╝''''''╝╝║'''......''''''''''''''''''''''''''''''---╔╩═╩═╩═╩═══╩═╦═╩═╩══╦══════╗''''╔╩════════════╩══╗╔══╩══╗╔══╝ ''''''''''''''''''''''''''''''''''''''''''''''''''''║║'''''''''''''''║║ ''''''''''''''''''''''''''''''''''''''''''''''╔══╝╚══╗''''''║║''''''''''''''''''''''''''''''''''''''''''''''╚══════╝''''''╚╝
Link to comment
Share on other sites

can you have a main window and you press like a next button and it doesnt open another window(or mabey it does idk) and it just changes whats on that page. So it might open new window and close other or it just changes whats on it.

kinda like the internet browser when you press the back/forward buttons

How?

ummm, you could use GuiCtrlSetData() to change all the data in the controls individually, or you can GUIDelete() your one window an GUiCreate() a new one.
Link to comment
Share on other sites

You could easily just delete all the things on the current GUI, then create the news ones it would be something like that would be the easiest way , just put while loops in between them and just if next is pressed then gather the data, delete the items exit the loop , create items on the Same GUI and so on.

GUI

Wait for next button

Delete items

GUI

wait for next button

Delete

GUI

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...