meowbits Posted May 6, 2009 Share Posted May 6, 2009 Looking to make a dialog box, anyone have the format for them? I didn't see them in the help guide. Link to comment Share on other sites More sharing options...
Authenticity Posted May 6, 2009 Share Posted May 6, 2009 Read the help file for the description and remarks. I think you're looking for GUICreate() to create the dialog box and GUICtrl* to dress it with the controls. Link to comment Share on other sites More sharing options...
meowbits Posted May 6, 2009 Author Share Posted May 6, 2009 Where can I add a textbox? I saw it but it didn't show how you actually put one in. Can I assign the value they (int) they enter? How would I do that. #include <GUIConstantsEx.au3> Opt('MustDeclareVars', 1) bailsToBuy() Func bailsToBuy() Local $gui, $bails, $msg, $ok, $bails $gui = GUICreate("Bails to Run", 400, 100) $bails = GUICtrlCreatePic(@SystemDir & "", 0, 0, 400, 100) GUISetState(@SW_SHOW) $ok = GUICtrlCreateButton("OK", 10, 30, 50) GUICtrlSetOnEvent(-1, "OKPressed") ; looking to have a text box so people can enter an int and have that int set to value $bails ; Then use value $bails in another file, or later in this one ; How do I do that? Do $msg = GUIGetMsg() Until $msg = $GUI_EVENT_CLOSE EndFunc Thanks for your help thus far =-) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now