Jump to content

Help making a window!


Recommended Posts

  • Moderators

Oh one more thing. I've just tested it. How do you edit the window you've just made if you messed up?

Edit the code it produced for you?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

If you messed up you either:

A ) Start again

B ) Open up the .kxf and edit it there (IF you used koda) or:

C ) Play with the Values of the controls until they work. :)

Link to comment
Share on other sites

Just edit the coordinates in the GUICtrlCreateButton function

From help file:

GUICtrlCreateButton ( "text", left, top [, width [, height [, style [, exStyle]]]] )

"left" and "top" are the number of pixels from the left or top where you want the button to be placed.

Edited by BALA
[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Link to comment
Share on other sites

$button_24 = GUICtrlCreateButton("Pop-up", 40, 10, 120)
GUICtrlSetOnEvent($button_24, "Pop") ; Tells to go to function "Pop()"

;Function
Func Pop()
    MsgBox(0, "Hello", "Hi!") ; Makes a dialog box pop-up
EndFunc

[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Link to comment
Share on other sites

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