Jump to content

gui input box


Recommended Posts

Use $ES_PASSWORD style.

hi how i can close my gui ? but the script needs to go on if want to do if $var = "something" then close gui

because when the login is compleet the gui needs to close and do something else

if the login fails the gui needs to stay te retry the login

how do i fix that ?

i have another problem

when the gui runs and a msgbox appiers then the box is behind the gui and not in front of the gui how i can fix that ?

Edited by yucatan
Link to comment
Share on other sites

because when the login is compleet the gui needs to close and do something else

if the login fails the gui needs to stay te retry the login

how do i fix that ?

Use GUICtrlDelete ( controlID ) to delete old GUI and after you can create another GUI or run some code without GUI.

When the words fail... music speaks.

Link to comment
Share on other sites

when the gui runs and a msgbox appiers then the box is behind the gui and not in front of the gui how i can fix that ?

Use 262144 for MsgBox flag.

MsgBox has top-most attribute set

MsgBox(262144,"TEST","MESSAGE")

When the words fail... music speaks.

Link to comment
Share on other sites

Use 262144 for MsgBox flag.

MsgBox has top-most attribute set

MsgBox(262144,"TEST","MESSAGE")

k the msgbox works thx

but i dont wanne delete the controls of the gui i wanne kill the whole gui window. just close it

in the GUI if i push Enter then he kliks Login. but when the msgbox comes up i want that if i push enter that he close the msbbox then

he need to close this msgbox then

MsgBox(262144,"TEST","MESSAGE")

i use this now

HotKeySet("{enter}", "button")

Func button()

ControlClick("", "", "Button1")

EndFunc

Link to comment
Share on other sites

k the msgbox works thx

but i dont wanne delete the controls of the gui i wanne kill the whole gui window. just close it

in the GUI if i push Enter then he kliks Login. but when the msgbox comes up i want that if i push enter that he close the msbbox then

he need to close this msgbox then

MsgBox(262144,"TEST","MESSAGE")

i use this now

HotKeySet("{enter}", "button")

Func button()

ControlClick("", "", "Button1")

EndFunc

Sorry GUIDelete() to delete whole GUI.

When the words fail... music speaks.

Link to comment
Share on other sites

Sorry GUIDelete() to delete whole GUI.

in the GUI if i push Enter then he kliks Login. but when the msgbox comes up i want that if i push enter that he close the msbbox then

he need to close this msgbox then

MsgBox(262144,"TEST","MESSAGE")

i use this now

HotKeySet("{enter}", "button")

Func button()

ControlClick("", "", "Button1")

EndFunc

what can i do about this ?

Link to comment
Share on other sites

in the GUI if i push Enter then he kliks Login. but when the msgbox comes up i want that if i push enter that he close the msbbox then

he need to close this msgbox then

MsgBox(262144,"TEST","MESSAGE")

i use this now

HotKeySet("{enter}", "button")

Func button()

ControlClick("", "", "Button1")

EndFunc

what can i do about this ?

You cant set timeout for MsgBox. Look in help file. Edited by Andreik

When the words fail... music speaks.

Link to comment
Share on other sites

Andreik, IMO you are way to patient. The OP is showing signs of not doing much to help himself... First lets let him find the helpfile, and search for his answers before spamming us with so many questions. I'm not against many questions or if this is how he/she learns, but the helpfile seems to be no existant on this person's computer.

Link to comment
Share on other sites

muttley Bert

.. I started to wonder how someone having almost 250 posts has such a small knowledge base ... then every new post added a little bit of "light" ...

Bert; I couldn't say it better than you did :)

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Link to comment
Share on other sites

  • 10 years later...

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...