How do you make a login button that opens a new window?

Asked

Viewed 27 times

-1

I was trying to make a program, with a login system, but I couldn’t get the commit button to access my 2° window (in case I would need the login to be right for this to occur).

Thanks in advance. Este foi o código que eu conseguir criar

1 answer

0

Button command missing on line 27.

bt = Button(jnl, text="Confirmar", command=janela_do_hub)
  • Good morning, In case you wanted the window to work only if the login was correct, by placing the button on line 27 the "confirm" button gives the login independent if the user and password are correct. I wish I could also make sure that when the login or password were wrong it would appear "Incorrect user or password!". I already thank you for the help!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.