Jump to content

New to gui dumb error...


Cloud
 Share

Recommended Posts

I really dont know whats wrong with this. I even copyied outhers gui and i still get errors. heres my sorce code. There is an attached tumbnail of my error. Any help? I also used Koda and no success.

#include <GUIConstants.au3>

$Menu = GUICreate("Menu", 520, 388, 293, 140, $WS_EX_TOPMOST)

GUISetCursor (2)

GUISetFont(10, 400, 0, "Arial")

GUISetBkColor(0xA6CAF0)

$Label1 = GUICtrlCreateLabel("Spam1", 0, 128, 45, 20)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUICtrlSetBkColor(-1, 0xA6CAF0)

$Label2 = GUICtrlCreateLabel("Delay", 0, 48, 45, 20)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUICtrlSetBkColor(-1, 0xA6CAF0)

$Label3 = GUICtrlCreateLabel("Spams", 0, 0, 45, 20)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUICtrlSetBkColor(-1, 0xA6CAF0)

$Label4 = GUICtrlCreateLabel("Effects", 0, 72, 44, 20)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUICtrlSetBkColor(-1, 0xA6CAF0)

$Label5 = GUICtrlCreateLabel("Times", 0, 24, 47, 20)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUICtrlSetBkColor(-1, 0xA6CAF0)

$Effects = GUICtrlCreateList("", 48, 72, 89, 22, -1, $WS_EX_CLIENTEDGE)

GUICtrlSetData(-1, "No Random colors or effects|Random colors only|Random effects and colors|Random effects only")

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Input1 = GUICtrlCreateInput("AInput1", 48, 0, 89, 24, -1, $WS_EX_CLIENTEDGE)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Input2 = GUICtrlCreateInput("AInput2", 48, 24, 89, 24, -1, $WS_EX_CLIENTEDGE)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Input3 = GUICtrlCreateInput("AInput3", 48, 48, 89, 24, -1, $WS_EX_CLIENTEDGE)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Button1 = GUICtrlCreateButton("Calcuator", 152, 0, 89, 25)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Button2 = GUICtrlCreateButton("Pause", 152, 24, 89, 25)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Button3 = GUICtrlCreateButton("Exit", 152, 72, 89, 25)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Input4 = GUICtrlCreateInput("Insert spam", 48, 128, 457, 24, -1, $WS_EX_CLIENTEDGE)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Label6 = GUICtrlCreateLabel("Spam2", 0, 152, 45, 20)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUICtrlSetBkColor(-1, 0xA6CAF0)

$Label7 = GUICtrlCreateLabel("Spam4", 0, 200, 45, 20)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUICtrlSetBkColor(-1, 0xA6CAF0)

$Label8 = GUICtrlCreateLabel("Spam3", 0, 176, 45, 20)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUICtrlSetBkColor(-1, 0xA6CAF0)

$Label9 = GUICtrlCreateLabel("Spam5", 0, 224, 45, 20)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUICtrlSetBkColor(-1, 0xA6CAF0)

$Label10 = GUICtrlCreateLabel("Spam6", 0, 248, 45, 20)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUICtrlSetBkColor(-1, 0xA6CAF0)

$Label11 = GUICtrlCreateLabel("Spam7", 0, 272, 45, 20)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUICtrlSetBkColor(-1, 0xA6CAF0)

$Label12 = GUICtrlCreateLabel("Spam8", 0, 296, 45, 20)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUICtrlSetBkColor(-1, 0xA6CAF0)

$Label13 = GUICtrlCreateLabel("Spam9", 0, 320, 45, 20)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUICtrlSetBkColor(-1, 0xA6CAF0)

$Label14 = GUICtrlCreateLabel("Spam10", 0, 344, 52, 20)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUICtrlSetBkColor(-1, 0xA6CAF0)

$Input5 = GUICtrlCreateInput("Insert spam", 48, 152, 457, 24, -1, $WS_EX_CLIENTEDGE)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Input6 = GUICtrlCreateInput("Insert spam", 48, 176, 457, 24, -1, $WS_EX_CLIENTEDGE)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Input7 = GUICtrlCreateInput("Insert spam", 48, 200, 457, 24, -1, $WS_EX_CLIENTEDGE)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Input8 = GUICtrlCreateInput("Insert spam", 48, 224, 457, 24, -1, $WS_EX_CLIENTEDGE)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Input9 = GUICtrlCreateInput("Insert spam", 48, 248, 457, 24, -1, $WS_EX_CLIENTEDGE)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Input10 = GUICtrlCreateInput("Insert spam", 48, 272, 457, 24, -1, $WS_EX_CLIENTEDGE)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Input11 = GUICtrlCreateInput("Insert spam", 48, 296, 457, 24, -1, $WS_EX_CLIENTEDGE)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Input12 = GUICtrlCreateInput("Insert spam", 48, 320, 457, 24, -1, $WS_EX_CLIENTEDGE)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

$Input13 = GUICtrlCreateInput("Insert spam", 48, 344, 457, 24, -1, $WS_EX_CLIENTEDGE)

GUICtrlSetFont(-1, 10, 400, 0, "Arial")

GUISetState(@SW_SHOW)

While 1

$msg = GuiGetMsg()

Select

Case $msg = $GUI_EVENT_CLOSE

ExitLoop

Case Else

EndSelect

WEnd

Exit

Link to comment
Share on other sites

I get no error message when I run it. Are you Beta running it (Alt F5 in Scite).


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

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