Jump to content

More Script help


dufran3
 Share

Recommended Posts

I get an error message when clicking the exit button on my GUI, it still closes, but give this error every time. Help anyone?

Line 0 (File "H:\file.exe"):

GUISetOnExecnt($GUI_EVENT_CLOSE, $main1)

Error:Unknown function name

Here is a snippet.

$exit1 = XSkinButton("Exit",315,360,75,25,"ExitButton")

GuiCtrlSetOnEvent($exit1, "ExitButton")

Func ExitButton()

GUISetOnEvent($GUI_EVENT_CLOSE, $main1)

EndFunc

Anyhelp would be greatly appreciated.

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