dufran3 Posted September 28, 2006 Posted September 28, 2006 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.
Kreatorul Posted September 28, 2006 Posted September 28, 2006 GUISetOnExecnt($GUI_EVENT_CLOSE, $main1) This is GuiSetOnEvent
dufran3 Posted September 28, 2006 Author Posted September 28, 2006 (edited) that was a typo, the error said event, not excent Edited September 28, 2006 by dufran3
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